1. #1
    Sencha User
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    5
    Vote Rating
    0
    royshoa is on a distinguished road

      0  

    Default How can i add a button into a TreePanel

    How can i add a button into a TreePanel


    Hello,
    I like to add a button right to every node in the TreePanel and I don't know how to do it?
    i attached a picture for demonstration what i need:
    Attachment 36199
    Thanks,
    Roy Shoa.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Vote Rating
    850
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Ext JS 3 or 4?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    18
    Vote Rating
    4
    aionescu is on a distinguished road

      0  

    Default


    Quote Originally Posted by royshoa View Post
    Hello,
    I like to add a button right to every node in the TreePanel and I don't know how to do it?
    i attached a picture for demonstration what i need:
    Attachment 36199
    You can use this example: http://dev.sencha.com/deploy/ext-4.1.../treegrid.html with one column instead of two, and render a button or a link that is styled like a button in that column.

  4. #4
    Sencha User
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    5
    Vote Rating
    0
    royshoa is on a distinguished road

      0  

    Default


    Thanks slemmon!
    Thanks,
    Roy Shoa.