javascript - GridPanel doesn't show store and filters -
I have a gridpanel with 5 columns, I put filter: true in each row But this filter will not show the option and the store will not show the item, I will see two rows, but they are empty.
Here is the result:
What am I doing wrong? Thanks in advance.
I believe filtering is applied at the level.
With the example: A snippet from the document is given here:
Filtering and Sorting
Store the Sort Can be filtered and filtered - In both cases, sorters and filters are organized locally or locally within mixed collection instances, making them easy to manage. Typically this is enough to specify the sorters and filters in the store configuration or call sort or filter:
var store = Ext.create ('Ext.data.Store ', [Model:' Users ', Sourters: [Property:' Age ', Direction:' DESC '], {Property:' First Name ', Direction:' ASC '}], Filters: [[Property:' First Name ', Value: / ED}}}}); The new store will keep the sortors and filters configured in the compiled collection examples mentioned above. By default, both sorting and filtering are performed locally by the store - to allow the server to perform these operations to see remote sort and remote filters.
Filtering and sorting is done immediately after the store. It is also easy Calling Adds another filter to the filter store and filters the dataset (Calling filters without any arguments, only all existing Filter re-applied).
store.filter ('eyeColor' 'Brown'); Object does not have a property, so I do not think you can do this.
I create a form on top or grid along with filter options specifically for special areas. This is one.
Comments
Post a Comment