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
120
Don't show "plus" expand indicator in hierarchical dataset if the child table is empty
posted

I have a hierarchical dataset bound as the datasource to a datagrid.  The rows in the parent table show up in the grid, and all the rows have an expansion indicator on their left.  However, some of the rows in my datasource do not have corresponding rows in the child table.  For these, I don't want the expansion indicator to appear, so that the user can easily tell which rows have children and which do not.  Is this possible?

 

thanks,

- Kam

Parents
No Data
Reply
  • 40
    posted

    There is also the reverse of this situation: you have an editable grid with AddNew rows and I expected parent rows with no children to show the plus sign and when clicked, to expand to an empty add new record row. But it doesn't happen. The plus sign just disappears when clicked.

    Anyone know a solution for this?

Children