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.

Fix the column widths and don''t allow users to resize

Thread ID:

Created:

Updated:

Platform:

Replies:

81058 May 11,2009 09:12 AM May 12,2009 02:22 AM Windows Forms 1
loading
Tags: GridControl
d p
Asked On May 11, 2009 09:12 AM

Hi,

How can I fix the Column widths of my Virtual Grid and stop users from resizing the column widths.

thanks
Deepak

Jisha Joy [Syncfusion]
Replied On May 12, 2009 02:22 AM

Hi Deepak,

You can set the ResizeColsBehavior property to GridResizeCellsBehavior.None. This will disables the resizing of columns in GridControl. Please see the code:


this.gridControl1.ResizeColsBehavior = GridResizeCellsBehavior.None;

Please let me know if this helps.

Regards,
Jisha


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.

;