Results 1 to 4 of 4

Thread: One Store class for two different grids

  1. #1
    Sencha User env0ke's Avatar
    Join Date
    Apr 2011
    Posts
    57
    Answers
    2

    Question Answered: One Store class for two different grids

    Hello,

    I set store class and try use for two grids. In first grid i set filters, but when i use second grid - it have filters from first grid. How i can use one store class for more different grids?

  2. You should create each store instance for each grid.

  3. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    347

    Default

    You should create each store instance for each grid.

  4. #3
    Sencha User env0ke's Avatar
    Join Date
    Apr 2011
    Posts
    57
    Answers
    2

    Default

    vietits ,

    For each grid set
    HTML Code:
    var store = Ext.create('myApp.store.myStore', {...})
    ?

  5. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    347

    Default

    Yes, that is what I mean.

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
  •