Column width resizing event issue

Hi,

Could uoy pls tell me which even get raised or fired when a column widhth is changed

Thanks,
Hazrat

1 Reply

AD Administrator Syncfusion Team November 24, 2006 09:02 AM UTC

Hi Tannearu,

You can handle the grid.Model.QueryColWidth event to detect the colwidth changes in a grid. If you want to cancel the resizing of the column, you can use ResizingColumns event and set e.Cancel to TRUE . Here is a code snippet to show this.

private void gridDataBoundGrid1_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
{e.Cancel = true;}

Best Regards,
Haneef

Loader.
Up arrow icon