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?