I have a HierarchicalDataGrid that I have added a context menu to.
I want the user to be able to right click on the row and add a new child band to the row they have selected.
I can't add this like:
selectedItem.get_rowIslands().add(row);
This seems to work:
selectedItem.get_grid().get_rows().add(row);
But, when I do this it creates a child row under the parent row as well as what looks like a sibling row on the same level.
What is going on here?
I think that this error was related to the fact that the parent row wasn't a self reference and all below child bands were self reference. I took our the parent band and not having a problem from what I can see...