GridView is exposed with one event named "GridView.Grouped" and this will get fire on adding and removing columns to GroupBy panel. On addtion of column the GridViewGroupedEventArgs action is telling like "Place" and removal of column action is telling like "Remove".
The piece of code shown below. Here "clubsGrid" is a Grid name. e
clubsGrid.Grouped +=
new EventHandler<GridViewGroupedEventArgs>(clubsGrid_Grouped);
void clubsGrid_Grouped(object sender, GridViewGroupedEventArgs e)
{
}
Scenario: We have add two columns to GroupBy panel. on removal first column the event action will be "Remove" and still we have the first column in GroupBy panel.
Requirement: In the above scenario, on removal of one column from GroupBy we should be in a positon to identify that still Groupby contains one more column in Groupby panel.
Kindly help me how to indentify the GroupBy is still available with some more columns or GroupBy is available with specific number of columns using the GridViewGroupedEventArgs in the above mentioned event.