Question

i have grid with large data ,i want to apply search on it with some input from a form like username in jon and age between 20 to 25 . this type of query pass by form .so how to load grid i am little confuse. so please suggest me .

sorry for my poor English. thanks.

Était-ce utile?

La solution 2

You can use the filterBy() function of the grid's store on the form submit. http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.data.Store-method-filterBy

When filterBy() returns true that row will appear in the grid.

Here is an example: http://jsfiddle.net/bYrMX/3/

Autres conseils

See if this plugin would do: Grid MultiSearch Plugin.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top