Results 1 to 4 of 4

Thread: TreePanel and expand icon

  1. #1

    Default TreePanel and expand icon

    Hello all,

    I have a tree where one root node and two child nodes for that are there by
    default.

    Here once i get a click event on the child nodes i will populated the tree.

    I want to show the + icon beside the child nodes by default as of now only after appending child nodes i it is i displaying the + icon.

    any method or attribute i can use for this.

    regards

  2. #2
    Sencha User MiamiCoder's Avatar
    Join Date
    Mar 2009
    Location
    Miami, FL
    Posts
    144

    Default

    Check out the leaf property of the node.

  3. #3

    Default

    Thanks for your reply,

    i already kept the leaf:false , any way i found that exapandable attribute makes the difference.

  4. #4
    Ext JS Premium Member Elijah's Avatar
    Join Date
    Nov 2009
    Location
    USA
    Posts
    382

    Default

    Can you post your code for the TreePanel?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •