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.

Possible to Freeze Last Column?

Thread ID:

Created:

Updated:

Platform:

Replies:

41672 Mar 8,2006 05:37 PM Mar 9,2006 11:36 AM Windows Forms 6
loading
Tags: GridControl
Maxim Software Systems
Asked On March 8, 2006 05:37 PM

Is it possible to freeze the last x columns in a grid instead of the first x columns?

Administrator [Syncfusion]
Replied On March 9, 2006 02:36 AM

Hi Don, Yes, this can be achieved by using the FreezeRange method. The FreezeRange will move the columns to the left and then freeze the moved columns. Here is the code snippet to freeze the last two columns. this.gridControl1.Model.Cols.FreezeRange(this.gridControl1.ColCount - 1,this.gridControl1.ColCount); Let us know if you need further information. Best Regards, Madhan.

Maxim Software Systems
Replied On March 9, 2006 09:37 AM

I meant if it was possible to freeze columns to the right side of the grid.

Administrator [Syncfusion]
Replied On March 9, 2006 10:33 AM

Hi Don, This is not easily possible. Refer to this KB article ( http://www.syncfusion.com/Support/article.aspx?id=10398 ) which explains how to have freeze rows at the bottom. Similarly, try for the columns. Best regards, Madhan.

Maxim Software Systems
Replied On March 9, 2006 11:03 AM

I was hoping I wouldn''t have to use 2 grids, but I guess that''s the only way.

Administrator [Syncfusion]
Replied On March 9, 2006 11:27 AM

Hi Don, Refer this forum thread ( http://www.syncfusion.com/support/forums/message.aspx?MessageID=38490 ) to freeze using a single grid. Best regards, Madhan.

Administrator [Syncfusion]
Replied On March 9, 2006 11:36 AM

Hi Don, Sorry, it also uses two grids. But, a easier way to have Freeze row / column. I hope this will help. Thanks, 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.

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.

;