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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grouped Cols In GridGroupDropArea

Thread ID:

Created:

Updated:

Platform:

Replies:

75355 Jul 22,2008 09:19 PM UTC Jul 23,2008 01:55 PM UTC WinForms 1
loading
Tags: Grouping
Abhishek Shivalingaiah
Asked On July 22, 2008 09:19 PM UTC

Syncfusion 6.1
VS 2005

I have dragged a few cols into the group drop area, resulting in the grid being grouped by those cols. When I click on the buttons in the grop drop area the groups get sorted asc/desc.
I would like to add some custom processing when the user clicks the col button in the group drop area.
How do I capture this click event?

Thanks


Sri Rajan [Syncfusion]
Replied On July 23, 2008 01:55 PM UTC

Hi Shek,

Thank you for your interest in Syncfusion products.

Here is the code to handle user clicks on column button in the group drop area.


this.gridGroupingControl1.GridGroupDropArea.CellClick += new GridCellClickEventHandler(GridGroupDropArea_CellClick);
void GridGroupDropArea_CellClick(object sender, GridCellClickEventArgs e)
{
if (this.gridGroupingControl1.GridGroupDropArea.Model[e.RowIndex, e.ColIndex].CellType == "ColumnHeaderCell")
{
Console.WriteLine("Button Clicked");
}
}


Please try this and let me know if this helps.

Best Regards,
Srirajan.


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

;