We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

GroupDropArea

Hi ,

I want to show the group grop area for sorting the group columns but i dont want to allow the users to drag and drop any new group column in the area....I tried "allowDrop" property to set to false but nothing happened as required.

Please tell me how to do this

Thanks
Harshad

1 Reply

JN Jayakumar Natarajan Syncfusion Team January 28, 2007 05:50 PM UTC

Hi Harshad,
Please handle the TableControlQueryAllowGroupByColumn and set the AllowGroupByColumn to false:


this.gridGroupingControl1.TableControlQueryAllowGroupByColumn += new GridQueryAllowGroupByColumnEventHandler(gridGroupingControl1_TableControlQueryAllowGroupByColumn);

private void gridGroupingControl1_TableControlQueryAllowGroupByColumn(object sender, GridQueryAllowGroupByColumnEventArgs e)
{
e.AllowGroupByColumn = false;
}


Regards,
Jay

Loader.
Live Chat Icon For mobile
Up arrow icon