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

Freezing columns in a virtual grid

Hi, I want to know what is the correct way to freeze columns in a virtual grid. The examples I've seen in this forum do not say whether they are meant to be used in virtual mode or not.
What I've done is effectively the following:
this.gridControl1.Cols.FreezeRange(0, numColsToFreeze)

and to remove it:
this.gridControl1.Cols.FrozenCount = 0

thanks and regards
Bijesh


2 Replies

JJ Jisha Joy Syncfusion Team October 7, 2008 12:24 PM UTC


Hi Bijesh,

You can use the same method in Virtual Grid also. Please refer the same to illustrates this:

http://www.syncfusion.com/support/user/uploads/VirtualGrid_e5ab2254.zip

Please try this and let me know if this helps.

Regards,
Jisha



BR Bijeshnath Ravindranath October 8, 2008 08:07 AM UTC

Hi Jisha,
Yes, this is the same way that I had tried and it works. I just wanted to make sure that this is the right way to do it in virtual grid,
Thanks for the confirmation and the code,
regards
Bijesh

>
Hi Bijesh,

You can use the same method in Virtual Grid also. Please refer the same to illustrates this:

http://www.syncfusion.com/support/user/uploads/VirtualGrid_e5ab2254.zip

Please try this and let me know if this helps.

Regards,
Jisha




Loader.
Live Chat Icon For mobile
Up arrow icon