1. #1
    Sencha Premium Member
    Join Date
    May 2013
    Location
    Stevenage, United Kingdom
    Posts
    44
    Vote Rating
    0
    uzair.sheikh is on a distinguished road

      0  

    Default Populate dataview.List from Two filters from Two different stores

    Populate dataview.List from Two filters from Two different stores


    I have two stores.
    - One is handling a JSON file, stored locally (ajax proxy)
    - Second is reading data from Local Storage

    Above both stores have individual filters attached (myStore.filter()). It's easy to populate the dateaview.list as per the filtered results from one store but I can't find a way to use two different stores with two different filters and display the output of them both filters into the dataview.list at the same time.

    E.g, if first filter outputs values 'Jon','Duncan','David' and second filter outputs value 'Mike','Steve' then I want them all values from both filters to be populated in the dataview.list.

    I think I will need filterBy to achieve this but even if this is the right approach, can someone please guide me with some sample code.

    Thanks in advance.

  2. #2
    Sencha Premium Member
    Join Date
    May 2013
    Location
    Stevenage, United Kingdom
    Posts
    44
    Vote Rating
    0
    uzair.sheikh is on a distinguished road

      0  

    Default


    Can someone please suggest a solution .
    Thanks

  3. #3
    Sencha Premium Member
    Join Date
    May 2013
    Location
    Stevenage, United Kingdom
    Posts
    44
    Vote Rating
    0
    uzair.sheikh is on a distinguished road

      0  

    Default


    Is this even possible with Sencha or not?