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