We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Possible to Freeze Last Column?

Is it possible to freeze the last x columns in a grid instead of the first x columns?

6 Replies

AD Administrator Syncfusion Team March 9, 2006 07:36 AM UTC

Hi Don, Yes, this can be achieved by using the FreezeRange method. The FreezeRange will move the columns to the left and then freeze the moved columns. Here is the code snippet to freeze the last two columns. this.gridControl1.Model.Cols.FreezeRange(this.gridControl1.ColCount - 1,this.gridControl1.ColCount); Let us know if you need further information. Best Regards, Madhan.


MS Maxim Software Systems March 9, 2006 02:37 PM UTC

I meant if it was possible to freeze columns to the right side of the grid.


AD Administrator Syncfusion Team March 9, 2006 03:33 PM UTC

Hi Don, This is not easily possible. Refer to this KB article ( http://www.syncfusion.com/Support/article.aspx?id=10398 ) which explains how to have freeze rows at the bottom. Similarly, try for the columns. Best regards, Madhan.


MS Maxim Software Systems March 9, 2006 04:03 PM UTC

I was hoping I wouldn''t have to use 2 grids, but I guess that''s the only way.


AD Administrator Syncfusion Team March 9, 2006 04:27 PM UTC

Hi Don, Refer this forum thread ( http://www.syncfusion.com/support/forums/message.aspx?MessageID=38490 ) to freeze using a single grid. Best regards, Madhan.


AD Administrator Syncfusion Team March 9, 2006 04:36 PM UTC

Hi Don, Sorry, it also uses two grids. But, a easier way to have Freeze row / column. I hope this will help. Thanks, Madhan.

Loader.
Live Chat Icon For mobile
Up arrow icon