PDA

View Full Version : Facing issue when filter the data from extjs store



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

Gary Schlosberg
5 May 2016, 6:16 AM
Moved from Community Discussion. Which specific version of Ext JS is this? Does the second version work if you temporarily remove the caseSensitive config? What is the value of operatorCheck?