Results 1 to 3 of 3

Thread: Multiple views of the TreePanel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default Multiple views of the TreePanel

    I want to use the same data store for rendering a TreePanel and an Accordion. Basically the tree data is very huge and the nodes are loaded dynamically on expansion of the nodes. I want to be able to share the same data between both the views and also want to keep both the views synchronized.
    I can even style the TreePanel to make it work like an accordion (through JS and css) so even sharing on the data between two tree panels will be fine rather than a TreePanel and an accordion.

    Please help on how I can achieve this.

    Regards,
    Lisa
    http://www.11plusexamsolutions.co.uk

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      0  

    Default

    So if you have 2 treepanels using the same store then where does that get you to where you want to be (minus the CSS work)
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    Oct 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default

    I am using ExtJs 3.4, the tree does not have an explicit TreeStore. Thats why I want to understand how can I have 2 views of the same tree data.

    Regards,
    Lisa
    http://www.11plusexamsolutions.co.uk

Tags for this Thread

Posting Permissions

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