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.
Unfortunately, activation email could not send to your email. Please try again.

prevent first column from scrolling (horizontal)

Thread ID:

Created:

Updated:

Platform:

Replies:

35233 Sep 27,2005 03:59 AM Sep 27,2005 05:10 AM Windows Forms 1
loading
Tags: GridControl
Krijn Michiels
Asked On September 27, 2005 03:59 AM

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 05:10 AM

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

CONFIRMATION

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.

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.

;