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

How to make column fixed

Thread ID:

Created:

Updated:

Platform:

Replies:

30370 Jun 16,2005 05:35 PM UTC Jun 17,2005 03:15 PM UTC WinForms 4
loading
Tags: GridControl
Lan Mo
Asked On June 16, 2005 05:35 PM UTC

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 08:17 PM UTC

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 01:27 PM UTC

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 03:00 PM UTC

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

Lan Mo
Replied On June 17, 2005 03:15 PM UTC

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.

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

;