TreePanel node marking

  1. #1

    TreePanel node marking

    Hi,

    I wish all of you A very Happy and prosperous new year.

    In the examples some tree nodes are marked as "new". In our application we like to mark some nodes as "used".
    But from the examples I can't find the way to do that. Also there is no post discussing that feature.

    Please somebody advice me.

    Regards,
    Shijith
  2. #2
    Hi,

    Just add span tag to the text of node
    Text="Node text <span class='node-marker'>&nbsp;</span>";
    and set background for the span
    .node-marker{
        background-image:image.png;
        width:30px;
    }
  3. #3

    Solved

    Hi,

    Thanks for the reply.

    I found text portion in example code, but missed to notice the class option.

    Regards,
    Shijith

Similar Threads

  1. How to get Node by id in treepanel 2.0?
    By tms2003@126.com in forum 2.x Help
    Replies: 1
    Last Post: Apr 03, 2012, 3:01 PM
  2. TreePanel edit node name
    By mrd in forum 1.x Help
    Replies: 4
    Last Post: Feb 23, 2012, 7:19 AM
  3. Treepanel Node
    By lindgrenm in forum 1.x Help
    Replies: 0
    Last Post: Feb 10, 2010, 3:08 PM
  4. Treepanel - Set Selected Node
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Dec 01, 2009, 4:46 PM
  5. TreePanel:Copying from one node to another node using drag and drop
    By eighty20 in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 25, 2009, 7:48 AM

Tags for this Thread

Posting Permissions