Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
How to Expand/ Collapse when no child rows are present?
posted

Hi folks,

I am wondering how to show expand/collapse when there are no child rows. The reason is, I want to show an empty child row if there are no child rows. Any suggestions are welcome.

I am databinding my hierarchical grid manually to a generic list (eg: a list of categories, each of which can contain a list of products). Also, I am not sure how to add a new row (to the bottom of the grid)  in the parent when the user clicks a button on the page.

Thanks for any help!

Marshal