1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    1
    Vote Rating
    0
    sjunghare is on a distinguished road

      0  

    Default Dynamic ExtJS 3.4 Group and Tree Structure with expand/collape operations

    Dynamic ExtJS 3.4 Group and Tree Structure with expand/collape operations


    I am new to the ExtJS and would like to understand on following requirements to be implementable or not.

    Group Name 1 [Collapse / Expant Panel]
    Root 1 - select all / unselect all
    Node 1 (check box)
    SubGroup Name 11 [Collapse / Expant Panel]
    Root 1 - select all / unselect all
    Node 11 (check box)
    Node 12 (check box)
    Node 13 (check box)
    Node 14 (check box)
    Node 2 (check box)
    Node 3 (check box)
    Node 4 (check box)

    Group Name 2 [Collapse / Expant Panel]
    Root 2 - select all / unselect all
    Node 21 (check box)
    Node 22 (check box)
    Node 23 (check box)
    Node 24 (check box)

    Group Name 3[Collapse / Expant Panel]
    Root 3 - select all / unselect all
    Node 31 (check box)
    Node 32 (check box)
    Node 33 (check box)
    Node 34 (check box)

    Is it possible in ExtJS 3.4 to load the data in tree nodes dynamically ? How to implement this ?

    If yes, how to select the nodes to send back to backend to stored in the database ?

    Thanks,

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    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


    Check out the async tree node. If there are no children specified for a non-leaf node then it will automatically do a request to load the children passing the node id
    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.

Thread Participants: 1