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

prevent first column from scrolling (horizontal)

Hi, How can I prevent certain columns -first, second, .. - to scroll horizontally outside the grid borders ? The first columns must stay visible and they do not respond to horizontal scrolling. Thanks

1 Reply

ST stanleyj Syncfusion Team September 27, 2005 09:10 AM UTC

Hi Krijn, Try this.gridControl1.Model.Cols.FrozenCount = 2; This will freeze the first 2 columns (A and B). you can also selectively freeze the columns using FreezeRange function. The code below will freeze columns B and C. this.gridControl1.Model.Cols.FreezeRange(2,3); Best regards, Stanley

Loader.
Live Chat Icon For mobile
Up arrow icon