1. #1
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    3
    Vote Rating
    0
    jpooley is on a distinguished road

      0  

    Default Unanswered: Lazy loaded tree of many models

    Unanswered: Lazy loaded tree of many models


    I am writing an application using the MVC approach of ExtJS 4.1.
    • The application will have three panels, a header panel (North), a Navigation tree panel (West), and Main Forms Panel (Center).
    • The header panel contains a combo box where a user can select a business.
    • The selection of a business should trigger the navigation tree panel to be loaded with the business as the root.
    • Clicking on Vendors, Customers or Categories should lazy load the relevant entities, and so on down the tree.
    e.g.
    Business A
    Vendors
    Vendor A
    ProductLines
    ProductLine A
    Products
    Product 1
    Product 2
    Product 3
    ProductLine B
    Products
    Product 4
    Product 5
    ProductLine C
    Products
    Product 6
    Vendor B
    ProductLines
    ProductLine C
    Products
    Product 7
    Product 8
    Customers
    Customer A
    Customer B
    Customer C
    Categories
    Category A
    ....

    • I then want to add Create, Review, Update and Delete (CRUD) functionality to the tree, so that I can fully manage the business entities.
    • Each different type of entity within the business tree will have a different model so I will need to be able display the relevant form /view for that enity.
    • Ideally the tree should automatically reflect all of the CRUD changes, and keep its state (i.e. if nodes are expanded or selected, they should remain so.)
    Doe anyone have any simple examples of how to accomplish this task?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Answers
    3467
    Vote Rating
    834
    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


    What have you gotten working thus far?
    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

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi