Having trouble with the .expandall() and .collapseall() methods of the webhierarchicaldatagrid:
In a simple test app, they do not epxand or collapse any groups, and in another more complex app, collapseall() doesn't do anything but expandall() causes a stack overflow?
could you post an example of how to accomplish this ?
Yep, resolved by just doing the expanding/collapsing myself. Thanks.
Hello cantrellr ,
Please let me know if you need further assistance after David's explanation.
Hi cantrellr,
These methods only affect data rows. They were added for the exporters so we could easily do AllDataInDataSource. If you want to affect group rows, you'll need to handle that yourself. These functions are very simply recursive calls you could implement yourself. If you get a stack overflow, it could be that the recursive call is too deep.
regards,David Young