View Full Version : Ext.tree.panel, conditionally render node text and type

30 Aug 2012, 12:08 AM
Is there a way i can add additional text to the node text and wrap it based on a condition like the value of last expanded node

checkbox Node1 text

checkbox Node2Text
checkbox Node2 text

checkbox Node4 text

I have created a store and am able to get "additionalText Nodetext" using render function of columns[].
I want to know how to wrap the data so that checkbox is always next to node text and additionalText is displayed above. Once that is done, i need to know a way to do this based on condition of last expanded node. Hope its clear