Results 1 to 2 of 2

Thread: Facing issue when filter the data from extjs store

  1. #1

    Default Facing issue when filter the data from extjs store

    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

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    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?

Similar Threads

  1. Replies: 13
    Last Post: 6 Oct 2016, 6:37 AM
  2. Replies: 1
    Last Post: 28 Aug 2015, 12:03 PM
  3. Cannot filter a grid in ExtJs 5.1 using class Ext.data.Store
    By FabianTdePaula in forum Ext 5: Q&A
    Replies: 1
    Last Post: 29 May 2015, 9:29 PM
  4. Replies: 2
    Last Post: 20 Aug 2012, 1:45 AM
  5. Replies: 5
    Last Post: 21 Aug 2011, 8:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •