Why is mytreenode.label or mytreenode.attributes.label undefined? : adobe flex action script
Answer Posted / Ashutosh Kumar Dubey
The MyTreeNode class in Flex does not have a label property directly, but you can set the label using the dataProvider. If you are trying to access the label within the NodeRenderer, you should use the 'data' object or use the AS3 built-in properties like 'labelField'. For custom attributes, create a custom attribute tag and use it with the MyTreeNode.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers