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.

How to make column fixed

Thread ID:

Created:

Updated:

Platform:

Replies:

30370 Jun 16,2005 01:35 PM Jun 17,2005 11:15 AM Windows Forms 4
loading
Tags: GridControl
Lan Mo
Asked On June 16, 2005 01:35 PM

I have a GGC form with many columns. I want to make the "ID" and "Description" column fixed when click horizontal scroll bar to scroll through the column. How can I do it? any sample? Thanks, Lan

Administrator [Syncfusion]
Replied On June 16, 2005 04:17 PM

In just a flat grid with no grouping, you can do this to freeze 2 columns. this.gridGroupingControl1.TableModel.Cols.FrozenCount = 2; For flat grouped columns, you would have to increase this number by 1 for each grouping.

Lan Mo
Replied On June 17, 2005 09:27 AM

Is there any build-in action, such as double-click or CTRL+Click on a column header, will make the column fixed? I am trying to figure out where to put your fix-column in? Thanks, >In just a flat grid with no grouping, you can do this to freeze 2 columns. > >this.gridGroupingControl1.TableModel.Cols.FrozenCount = 2; > > >For flat grouped columns, you would have to increase this number by 1 for each grouping.

Administrator [Syncfusion]
Replied On June 17, 2005 11:00 AM

We have no UI to do this. Can you do it when the grid loads?

Lan Mo
Replied On June 17, 2005 11:15 AM

Yes, I can do it in grid loading. If GGC have a built-in function(GUI) to let user dynamicly to select columns to fix, that would be great for GGC with large number of columns. Thanks for help. >We have no UI to do this. Can you do it when the grid loads?

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.

;