Hybrid View

  1. #1
    Ext User
    Join Date
    Dec 2007
    Posts
    7
    Vote Rating
    0
    sangharsha is on a distinguished road

      0  

    Default Setting multiple icons to the tree nodes

    Setting multiple icons to the tree nodes


    I have used the tree module of extjs. Currently it displays mainly two sets of icons for the tree nodes: - folders (expanded & collapsed) and the leaf node(file icon).
    I want to give the nodes multiple icons. Is there any way that I can give them separate attributes to set separate node icons?

    Any help would be appreciated.

    Thanks in advance.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,662
    Vote Rating
    584
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    See:

    icon
    iconCls

  3. #3
    Ext User
    Join Date
    Dec 2007
    Posts
    7
    Vote Rating
    0
    sangharsha is on a distinguished road

      0  

    Default


    Thanks evant,
    While browsing the forum, I also found the same thing already solved.
    Here it is: http://extjs.com/forum/showthread.ph...ifferent+icons

Thread Participants: 1