1. #1
    Sencha User
    Join Date
    Jan 2008
    Location
    Levittown, PA
    Posts
    316
    Answers
    2
    Vote Rating
    2
    mjhaston is on a distinguished road

      0  

    Default Unanswered: Multiple Grids, One Store - just filtered

    Unanswered: Multiple Grids, One Store - just filtered


    I have 6 grids on a panel. Each time I create a grid, I create an instance of the store. It's becoming a bit of a pig, processing all 6 at once. The monthly grids show numbers by month, the year-to-date just keep a running total.

    The only difference for the store is the first column grids passes a code of "A02" to the store. The second passes "B02" and the third "C02".

    Can I load this store one time with everything and then just filter those results with each grid? Maybe even do the y-t-d totals within the grid?
    Attached Images

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,019
    Answers
    467
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      2  

    Default


    This feature was added into 5.x, see: http://docs.sencha.com/extjs/5.0.0/a...a.ChainedStore
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Jan 2008
    Location
    Levittown, PA
    Posts
    316
    Answers
    2
    Vote Rating
    2
    mjhaston is on a distinguished road

      0  

    Default


    Unfortunately ExtJS 5.0 is not an option for me right now.

Thread Participants: 1