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