Results 1 to 4 of 4

Thread: Show only some elements of the store in the grid.

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
      0  

    Default Answered: Show only some elements of the store in the grid.

    Hey there,

    i've got an array of indizes from elements in a store. Is there any opportunity or function to show only these elements in the grid without modifying store?

    Thanks for helping,
    Huggy.

  2. The grid will show what's in the store so you would have to filter out those from the store that you don't want to show.

  3. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    The grid will show what's in the store so you would have to filter out those from the store that you don't want to show.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
      0  

    Default

    Thanks for replying.

    So, I've to remove the unwanted elements form the store and if I want to show all again, I'll need to reload it, right?

  5. #4
    Sencha User friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
      0  

    Default

    Check the API docs for Ext.data.Store.filter and Ext.data.Store.filterBy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •