Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
is there any event for outlook groupbyrow removal?
posted
hello, ultrawingrid provides an initializegroupbyrow event when a column is grouped in the outlookgroupby. But i wonder, is there any event to handle the situation when a column is removed from the groupbybox manually by dragging out the header from groupbybox?
Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    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.

Children