AD
Administrator
Syncfusion Team
March 23, 2007 05:38 PM UTC
Hi Amiya,
One way you can do this by handling the QueryAllowDragColumnHeader event and setting the e.AllowDrag property to False to prevent from moving the column header in a grid. Here is a code snippet
private void gridQueryAllowDragColumnHeader(object sender, GridQueryDragColumnHeaderEventArgs e)
{
if( e.Column > this.grid.Model.Cols.FrozenCount )
e.AllowDrag = false;
}
Best regards,
Haneef