Modifying tree view data during dialog execution

Use ui.Dialog methods to insert/append/delete treeview nodes.

Before version 2.30, it was possible to use the insertRow() / appendRow() / deleteRow() / deleteAllRows() dialog class methods to modify the tree array during the dialog execution. But these methods were not prepared to handle tree data properly. You could use program array methods instead, but when modifying the program array directly, multi-range selection flags or cell attributes were not synchronized.

Starting with 2.30.02, you can now use the insertNode(), appendNode() and deleteNode() methods of the ui.Dialog class. You can still directly fill the program array before the dialog execution, but you should use dialog methods during the dialog execution.