devcro
2011-10-13T13:34:15Z
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
2011-10-14T06:41:26Z
iGrid1.FrozenArea.ColCount = 3;
Ron Brown
2015-12-04T16:38:42Z
I need to freeze the last column.. how would I do this?
Igor/10Tec
2015-12-05T09:02:05Z
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
2015-12-05T10:55:14Z
Originally Posted by: Igor/10Tec 

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

Click to View Image178 View(s)



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
Ron Brown
2015-12-05T11:33:45Z
Originally Posted by: Ron Brown 

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)

IGrid1.VScrollBar.Visibility = iGScrollBarVisibility.Hide
Then...


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