Pregunta

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.

¿Fue útil?

Solución 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/

Otros consejos

See if this plugin would do: Grid MultiSearch Plugin.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top