View Full Version : How to get numeric index for tree panel in ExtJs

30 Jul 2012, 12:47 AM
Something like
1. ab
1.1. cd
1.2. ef
2. gh
3. ij
3.1. kl
3.2. mn

Currently my tree panel has 'folder' icon before the title if that is not a leaf... :(
does someone know how to change it to numeric index...

30 Jul 2012, 3:28 PM
This sounds like an interesting challenge. What have you tried so far?

I'm wondering that if in the long run it may be easier to accomplish this with an XTemplate or a Dataview rather than modifying the display of a TreePanel.