Sep 25, 2012, 1:04 PM
[CLOSED] Proper way to get the Tree NodeID in the TreePanel ItemContextMenu handler
Hi
I've got an ItemContextMenu listeners of a TreePanel. In the node object that passed to the Handler is a DOM object, and not a TreeNode object. Using
I've got an ItemContextMenu listeners of a TreePanel. In the node object that passed to the Handler is a DOM object, and not a TreeNode object. Using
node.id
actually doesn't help in getting the actual NodeID of the treeNode. After examining all properties in that node object I find that the property node.viewRecordId
is actually containing the NodeID of the treeNode. My question, is that the reliable way to retrieve the NodeID? Is there a more proper way to get that NodeID instead? Thanks
Last edited by Daniil; Sep 26, 2012 at 2:05 PM.
Reason: [CLOSED]