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

Prevent changing the row height

Thread ID:

Created:

Updated:

Platform:

Replies:

54895 Jan 19,2007 08:20 AM UTC Jan 19,2007 05:37 PM UTC Windows Forms 1
loading
Tags: GridControl
Ana
Asked On January 19, 2007 08:20 AM UTC

Hello,

How do I prevent the user from changing the row height in a grid?

In the latest version of the grid control (4.402.0.51), the rows in the first visible column is always possible to resize. This behaviour was not seen in the previous version (3.x). The rows in the rest of the columns cannot be resized, it is only the first column.

Best regard,
Ana

Administrator [Syncfusion]
Replied On January 19, 2007 05:37 PM UTC

Hi Ana,

>>How do I prevent the user from changing the row height in a grid?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can handle the ResizingRows event of the grid and set e.Cancel to true. This will help you.

//Form load..
this.grid1.ResizingRows +=new GridResizingRowsEventHandler(grid1_ResizingRows);

private void grid1_ResizingRows(object sender, GridResizingRowsEventArgs 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

;