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
2165
Hierarchical data expansion
posted

Hi,

What i'm trying to achieve is to have a hierarchical XamdataGrid in which i can add items with the "New"
context menu command, and to these items i can add child entries with the "New Detail" context menu command.
And the rows should only have expanders when they have children. So far I've run into a lot of problems, for example,
if i hide the + for a row who has no children, and then add child items to it, even if i set the visibility of the + back to normal,
it doesn't work anymore(doesn't expand, just changes icon).

I've tryed this with both collections as ObservableCollection and BindingList also.

Can you suggest a solution?