Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
devcro  
#1 Posted : Thursday, October 13, 2011 1:34:15 PM(UTC)
devcro

Rank: Newbie

Groups: Registered
Joined: 10/13/2011(UTC)
Posts: 1

Hi

Can anyone point me in the right direction on how to freeze columns in iGrid.NET. I would like the first three columns to stay visible and let let rest be controlled by the scrollbar

Thanks,
Igor/10Tec  
#2 Posted : Friday, October 14, 2011 6:41:26 AM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 829

Thanks: 11 times
Was thanked: 107 time(s) in 107 post(s)
Code:
iGrid1.FrozenArea.ColCount = 3;
thanks 1 user thanked Igor/10Tec for this useful post.
ninten on 10/19/2012(UTC)
Ron Brown  
#3 Posted : Friday, December 4, 2015 4:38:42 PM(UTC)
Ron Brown

Rank: Newbie

Groups: Registered
Joined: 7/21/2013(UTC)
Posts: 8
Man

Thanks: 4 times
I need to freeze the last column.. how would I do this?
Igor/10Tec  
#4 Posted : Saturday, December 5, 2015 9:02:05 AM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 829

Thanks: 11 times
Was thanked: 107 time(s) in 107 post(s)
Do you need something like the footer section at the bottom, stuck to the grid's bottom edge?

Sorry, but the current release of iGrid allows you to have the frozen column band only at the left. But we have also already thought about having this "column footer" while implementing the footer for rows. Maybe, in future updates.
Ron Brown  
#5 Posted : Saturday, December 5, 2015 10:55:14 AM(UTC)
Ron Brown

Rank: Newbie

Groups: Registered
Joined: 7/21/2013(UTC)
Posts: 8
Man

Thanks: 4 times
Originally Posted by: Igor/10Tec Go to Quoted Post
Do you need something like the footer section at the bottom, stuck to the grid's bottom edge?

Sorry, but the current release of iGrid allows you to have the frozen column band only at the left. But we have also already thought about having this "column footer" while implementing the footer for rows. Maybe, in future updates.


Column footer is exactly what I am looking for.

what I am trying to do is something like this image:

EM8MC0W[1].png

the first 3 columns and the last column are frozen.

It will be exciting to see in future updates.

meanwhile, I am thinking of using 2 grids. Is there a way to make 2 grids scroll together?

Ron

Edited by user Monday, December 7, 2015 1:52:19 PM(UTC)  | Reason: uploaded image to 10tec servers

Ron Brown  
#6 Posted : Saturday, December 5, 2015 11:33:45 AM(UTC)
Ron Brown

Rank: Newbie

Groups: Registered
Joined: 7/21/2013(UTC)
Posts: 8
Man

Thanks: 4 times
Originally Posted by: Ron Brown Go to Quoted Post
meanwhile, I am thinking of using 2 grids. Is there a way to make 2 grids scroll together? ...

UPDATE:

I figured it out. unless there is a better way, this works

First, I set this: (only need one Vscrollbar)

Code:
IGrid1.VScrollBar.Visibility = iGScrollBarVisibility.Hide

Then...

Code:

Private Sub IGrid2_VScrollBarScroll(sender As Object, e As iGScrollEventArgs) Handles IGrid2.VScrollBarValueChanged
    IGrid1.VScrollBar.Value = IGrid2.VScrollBar.Value
End Sub

Private Sub IGrid1_VScrollBarScroll(sender As Object, e As iGScrollEventArgs) Handles IGrid1.VScrollBarValueChanged
    IGrid2.VScrollBar.Value = IGrid1.VScrollBar.Value
End Sub

Edited by user Monday, December 7, 2015 1:39:54 AM(UTC)  | Reason: formatting

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.