DataTableModel: Adding a node to a folder causes child nodes
Brought to you by:
agaman
Steps to reproduce:
1) Open TreeViewAdv sample application.
2) Navigate to ”DataTableModel” tab.
3) Expand ColumbiaRiver node.
4) Expand SnakeRiver node.
5) Rigth click ColumbiaRiver.
6) Select Add Node.
Expected result: a new node is added.
Actual result: a new node is added, but the SnakeRiver child node is collapsed.
When you add a new line, the DataTableModel (in the sample app) recreate all nodes in the tree.
Expanded states are lost.
This is not a bug in the control,
the implementation of the model (in the sample app) is only not optimized.