Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8390967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:08:03+00:00 2026-06-09T19:08:03+00:00

I am using a filter for a store. The problem is that I want

  • 0

I am using a filter for a store. The problem is that I want to return an exact match.

For example:

If I am filtering for aa-1 in a grid it will show aa-1 and aa-1*** but if I want only see everything with aa-1.

I use this to filter:

listeners: {
    itemclick: function() {
        var data = grid.getSelectionModel().selected.items[0].data;
        store.clearFilter();
        store.filter('productsCat', data.productsCat);
    }
}

What do I have to do to do an exact match?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:08:05+00:00Added an answer on June 9, 2026 at 7:08 pm

    You could use a regular expression in the filter to perhaps ensure that the comparison value was the end of the phrase.

    Either that, or use the filterBy() method to define a comparison function, e.g.:

    store.filterBy(this, function(rec, id) {
        if(rec.get('thefieldtocompare') === "what you want to compare against") {
            return true;
        }
        else {
            return false;
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Flask/Jinja2 template to show a number using |float filter. Here is
I have a text file which I want to filter using awk. The text
I want to combine several zip files together using ANT, but I've got three
The problem is that I need to store 1 integer every day (adding new
What I want to do is already described in that question . But I
I am using filter that check if user is log in then don't cache
In Django, I know using filter with multiple arguments gets translated into SQL AND
so i am using a filter to catch servlet exception (because we are using
I need to filter the data using a filter where CategoryId = 75 and
I am planning to implement spam filter using Naive Bayesian classification model. Online I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.