Results 1 to 2 of 2

Thread: Lazy loaded tree of many models

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

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

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
  •