|
Title: Expand/Colapse iconCls for Tree Post by: iceh on December 23, 2013, 12:38:11 AM Hi,
how do I add an iconCls dependent on the expand/collapse state to a Tree Item? I just found the iconCls in the documentation. Title: Re: Expand/Colapse iconCls for Tree Post by: iceh on January 07, 2014, 06:46:20 AM Any idea on this one?
Title: Re: Expand/Colapse iconCls for Tree Post by: stworthy on January 07, 2014, 05:49:02 PM When collapse or expand a node, you can call 'update' method to update the iconCls for this node.
Code: <ul class="easyui-tree" data-options=" Title: Re: Expand/Colapse iconCls for Tree Post by: iceh on January 08, 2014, 02:20:30 AM OK cool looks simple.
I use the node's attributes for the storage of the icons. |