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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

prevent first column from scrolling (horizontal)

Thread ID:





35233 Sep 27,2005 07:59 AM UTC Sep 27,2005 09:10 AM UTC WinForms 1
Tags: GridControl
Krijn Michiels
Asked On September 27, 2005 07:59 AM UTC

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

stanleyj [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon