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. Image for the cookie policy date
close icon

Prevent changing the row height

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon