Arun Jindal
5 May 2016, 2:35 AM
I want to filter the data from extjs store without case senstivity. So for this i use below code.
store.filter([
{
property: colName,
value: compareVal,
id: colId,
caseSensitive: false
}]);
Above code is working fine but if i passed one more parameter i.e. operator
store.filter([
{
property: colName,
value: compareVal,
id: colId,
caseSensitive: false,
operator: operatorCheck
}]);
Now above code is not working. Please help me out of this.
Example:
Suppose my store contain following values
abc, ABC, cde, CDE, efg
I want all the records except abc // store not contains abc (!= abc)
o/p should be: cde, CDE,efg
store.filter([
{
property: colName,
value: compareVal,
id: colId,
caseSensitive: false
}]);
Above code is working fine but if i passed one more parameter i.e. operator
store.filter([
{
property: colName,
value: compareVal,
id: colId,
caseSensitive: false,
operator: operatorCheck
}]);
Now above code is not working. Please help me out of this.
Example:
Suppose my store contain following values
abc, ABC, cde, CDE, efg
I want all the records except abc // store not contains abc (!= abc)
o/p should be: cde, CDE,efg