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.
Up arrow icon