I am using SmartClient_v111p_2017-09-16_LGPL with IE11.
In the TreeGrid, I am trying to append a node to a collapsed tree and have the TreeGrid display the appended node. The problem I am having is opening the path to the appended node.
Any suggestions as to where I went wrong?
Thanks
Paul
In the TreeGrid, I am trying to append a node to a collapsed tree and have the TreeGrid display the appended node. The problem I am having is opening the path to the appended node.
Code:
function Append_onClick(btn) { // the following function, AppendTree, does append a new node to the Tree var newLocn = AppendTree(_isoConfigTree); // the LGPL function getParent is working, // but the openAll does not display an open path to the node: newLocn _isoConfigTree.getData().openAll(_isoConfigTree.getData().getParent(newLocn)); // the following lines are to make sure the node is visible to the user, I think they will work var displayedAt = _isoConfigTree.getRecordIndex(newLocn); if (displayedAt >= 0) _isoConfigTree.scrollToRow(displayedAt); }
Thanks
Paul
Comment