Friday, March 27, 2009

Why is myTreeNode.label or myTreeNode.attributes.label undefined

Question :Why is myTreeNode.label or myTreeNode.attributes.label undefined?
Answer :Make sure you use the TreeDataProvider methods to modify a node. Don't rely on the node being
XML. For example, the above should be myTreeNode.getProperty("label") instead.

No comments: