Hi
I would like to to collapse child group by rows when Parent Group by row collapse.
Attached zip file has the code and image (result that I am expecting) file.
1. Run the code,
2. Group by "Abbreviation" and "IDName"
3. Collapse first Groupby row (i.e. empty abbreviation)
4. This will show two child group by rows with N1 and N2.
5. Expand N1 and N2 group by rows
6. Collapse Parent i.e. Abbreviation group by row (keeping N1 and N2 group by rows expanded)
7. Expand the parent i.e. Abbreviation group by row.
8. N1 and N2 shows with expand (as they were expanded before).
How to make N1 and N2 collapsed when parent row collapsed?. This should work for any level of group by rows.
Can you modify the code and upload back.
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Great. This one works. Thanks.
Thank you for your post. I have been looking into it and I modified the code you have provided, so now it works as you want. Basically I handled the XamDataGrid’s RecordCollapsing event and in its handler a collapse all children of the currently collapsing GroupRecord. I also attached the sample. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.