Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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