سؤال

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.

هل كانت مفيدة؟

المحلول 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/

نصائح أخرى

See if this plugin would do: Grid MultiSearch Plugin.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top