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
290
Expand grouped rows thows events
posted

I have a grouped grid. When I expand a grouped row it thows some events (activerowchange, selectionchange,...)

Can I disable these events? Can I expand a grouped row without throwing any event?

Selection, activerow and pivotrow may be the same after the row expand.

Thanks.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I'm not sure I understand your question. It sounds like you are not really talking about events, but rather that you don't want the grid to change states.

    When you click on a GroupByRow to expand that row, it becomes the active row and it also gets selection. The events fire to let you know that this happened. So do you really not want the events to fire? Or do you not want the ActiveRow and selection to change?

    You might be able to use the BeforeSelectChange event to cancel the changing of the selected row. And I think you can handle BeforeRowActivate and cancel it to prevent the row from being activated.

Children