I am able to expand/collapse my groups in Rad Grid on client side. What I would like to do is to cancel the expand/collapse in certain situations. For example, if the "Total" amount in my Group row is less than 100, I would like to cancel the expand event.
I know I should be able to do this by the GroupExpanding event - I have hooked that up (using GroupLoadMode = Client), and I can indeed intercept the expand event. However, I am not able to find a way to access the data in the group row I am expanding, to check what the total value is.
Is there a way to do this? I need to do this all client-side.
Basically, cancel the expand event if some value in the group row is not equal to 100.