This is a migrated thread and some comments may be shown as answers.

Client Side Conditionally Expand Group Based on Value in Group Row

0 Answers 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 14 Apr 2017, 11:05 AM

Hi,

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.

Thanks

Daniel

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Daniel
Top achievements
Rank 1
Share this question
or