TreeView datasource reloads when i try to expand a node, the parent data is appended to the expanded node. Strangely however if i collapse the expanded node and expand it again the child nodes are appended. Help please
2 Answers, 1 is accepted
answered on 04 Dec 2017, 11:32 AM
See the following dojo example, which demonstrates how a new node can be appended to a parent node using the TreeView's expand event. A jQuery object of the expanded node is obtained through the findByUid method and a new is appended to the expanded one.
If the provided example does not help with fixing the issue you are experiencing, could you modify it accordingly, in order for the problematic behavior to be reproduced and link it back for further review?