PDA

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



deepaExtJs
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


additionaltext
checkbox Node1 text

checkbox Node2Text
checkbox Node2 text

additionalText
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