Hello Oleg,
Disabling a node is also an insteresting feature for me. Cagatay, do we have to open Jira issue to keep track of those enhancements ?
To change the icon of non leaf TreeNode, the documentation talks only about css descriptor :
Code: Select all
/* Folder Theme */
.ygtvtn { background: url(../../images/folders/tn.gif) 0 0 no-repeat; width:17px; height:22px; }
.ygtvtm { background: url(../../images/folders/tm.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvtmh { background: url(../../images/folders/tmh.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvtp { background: url(../../images/folders/tp.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvtph { background: url(../../images/folders/tph.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvln { background: url(../../images/folders/ln.gif) 0 0 no-repeat; width:17px; height:22px; }
.ygtvlm { background: url(../../images/folders/lm.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvlmh { background: url(../../images/folders/lmh.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvlp { background: url(../../images/folders/lp.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvlph { background: url(../../images/folders/lph.gif) 0 0 no-repeat; width:34px; height:22px; cursor:pointer }
.ygtvloading { background: url(../../images/folders/loading.gif) 0 0 no-repeat; width:16px; height:22px; }
.ygtvdepthcell { background: url(../../images/folders/vline.gif) 0 0 no-repeat; width:17px; height:22px; }
I'm not sure we need something else as non leaf are always the same type (ie : leaf's container). Not ?
Regards,