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.

Was it helpful?

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/

OTHER TIPS

See if this plugin would do: Grid MultiSearch Plugin.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top