Is there a way to program to collapse child rows in a gridview control?
Best regards,
G
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 02 Mar 2012, 03:00 PM
Hello Gonzalo,
Thank you for writing.
In order to collapse the expandable rows of a certain template, just call the CollapseAll method of the latter. Here is an example how to do that for the MasterTemplate:
radGridView1.MasterTemplate.CollapseAll();
I hope that you find this information useful. Let me know if you have further questions.