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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GroupDropArea

Thread ID:

Created:

Updated:

Platform:

Replies:

55293 Jan 26,2007 05:51 PM UTC Jan 28,2007 05:50 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 26, 2007 05:51 PM UTC

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

Jayakumar Natarajan [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;