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.
Syncfusion Feedback

Freeze columns in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

57999 Mar 15,2007 02:56 PM UTC Mar 15,2007 07:41 PM UTC Windows Forms 1
loading
Tags: GridControl
Ronnie Kleinfeld
Asked On March 15, 2007 02:56 PM UTC

Hi,

I'm using GridDataBoundGrid.
I want to freeze 3 column on the grid.

I'm using the grid in the same way as in the VirtTreeGrid example.

How can I freeze these columns?

Thanks,
Ronnie

Administrator [Syncfusion]
Replied On March 15, 2007 07:41 PM UTC

Hi Ronnie,

Thank you for being patience.

The columns in the GridDataBoundGrid can be freeze by using the following code snippet
>>>>>>>>>>>>>>>>>>>>
////Columns
// Sets the FrozenCount
this.gridDataBoundGrid1.Model.Cols.FrozenCount = 2;

//Freezes the selected columns (Moves them to the start of the grid and sets FrozenCount)
this.gridDataBoundGrid1.Model.Cols.FreezeSelection();

// Freezes a range of columns
this.gridDataBoundGrid1.Model.Cols.FreezeRange(2,5);
>>>>>>>>>>>>>>>>>>>>

Kindly let us know if you need any further assistance.
Have a nice day.

Best regards,
Madhan

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

;