Thanks Mr. Saltzman i just wanted to be notified whenever a column is ungrouped. AfterSortChange will solve my purpose. Regards
Hi,
I think you are talking about two different things here. The InitializeGroupByRow event fires for each GroupByRow when it is created. So if the user groups by a column, the InitializeGroupByRow will fire for each GroupByRow.
If you are looking to trap when the grid is grouped or ungrouped, then that's not a good event to use, since it will fire many many times.
A better event to use is Before/AfterSortChange. Grouping is tightly tied to sorting, so this event will fire any time a user groups or un-groups a column.