I have a store which contains lots of records. Suppose I have students information in store.
I need those students whose age 10 years.
I am trying Following:
var age = new Ext.ux.Multiselect({
valueField: 'LookupId',
fieldLabel: 'Student Age',
store: responsibleAgeLevel.getStore(),
width: 180,
height: 82
});
The Problem is it returns age of all students. I want to load only for age 10 years.
For this you can use
filtermethod of store or you can also usearray.filterto get some necessary records.Here is FIDDLE, I have created a demo using
storeandgrid. I hope this will help/guide you to achieve your requirement.*This another FIDDLE in latest version. You can also check here for the same.
CODE SNIPPET