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

Need to set fixed row and column size in a grid control.

Thread ID:

Created:

Updated:

Platform:

Replies:

54867 Jan 18,2007 09:55 PM UTC Jan 18,2007 10:17 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 18, 2007 09:55 PM UTC

Can you tell me what property I need to set so that the user cannot resize the row or column in a grid control. Thanks.

Administrator [Syncfusion]
Replied On January 18, 2007 10:10 PM UTC

I also need to know how to keep a grid size fixed as well. Thanks.

>Can you tell me what property I need to set so that the user cannot resize the row or column in a grid control. Thanks.

Administrator [Syncfusion]
Replied On January 18, 2007 10:17 PM UTC

Hi Pooja,

If you dont want this, then handle the ResizingColumns event of the grid and set e.Cancel to true. This will help you.

//Form load..
this.gridControl1.ResizingColumns += new GridResizingColumnsEventHandler(gridControl1_ResizingColumns);

private void gridControl1_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
{
e.Cancel = true;
}

Thanks for using Syncfusion Products.
Regards,
Haneef

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

;