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 4056756
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:52:02+00:00 2026-05-20T14:52:02+00:00

I really like the multiple search option the jqGrid has, but there’s one small

  • 0

I really like the multiple search option the jqGrid has, but there’s one small problem with it. I can’t make any search options more complicated than a list of AND or OR statements. I can’t do anything like cnd1 AND (cnd2 OR cnd3), I’m limited to cnd1 OR cnd2 OR cnd3.

Is anyone aware of a search plugin or script that allows this? The jqGrid search is simple to use and understand, it just has the aforementioned issue. I don’t even care if it interfaces with a table or makes ajax requests or anything; I’m just interested in finding some easy interface I can present to users so they can construct more complicated filter conditions for the query.

I thought of making one myself by having a similar list of condition specifications, and then allowing the user to bunch a number of conditions together into a group and all the conditions in the group are connected by the same boolean type (AND/OR). And then the user can group together groups, which allows more complicated search conditions.

So an example would be grp1 AND grp4. grp1 is just cnd1. grp4 is grp2 OR grp3. grp2 is cnd2 AND cnd3. grp3 is cnd4 AND cnd 5. So in the end, the statement is cnd1 AND ((cnd2 AND cnd3) OR (cnd4 AND cnd5)). But all this seems very complicated to present on the screen.

So anyway, does anyone know of some solution that exists already that accomplishes what I’m looking for (without requiring the user to actually write out their query of course)? Does this even make sense?

Thanks

  • 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-05-20T14:52:03+00:00Added an answer on May 20, 2026 at 2:52 pm

    In the next version of jqGrid the old jquery.searchFilter.js module will be replaced with the new one grid.filter.js which will produce filters compatible with the old format, but it will allows full freedom in the grouping which you asked.

    Look at the demo which use some more new grid.filter.js (not the last version). I created the demo for the answer. It use not the last version of the grid.filter.js, but it shows the main difference to the advanced searching.

    More about the new filter you can read here. By the way 3 hours ago Tony added templates feature in filter module. You can find the code on the github.com (see here the last changes)

    I think the new grid.filter.js will solve your requirements and you don’t need to spend your time in writing you own plugin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really like the promote to home page feature of drupal. But what if
I really like how I can easily share files on a network using the
I really like the way Eclipse has pop-up Javadoc documentation for the various Java
I really like the idea of automatic binding generation like SWIG does. But it
I don't really know how to even search for resolution of this problem, didn't
I tried searching, but I couldn't really figure out the best search terms to
this is going to be a total newbie question but I can't really do
My app has photos, and users can search for photos that meet certain criteria.
It looks like quite a cool idea, but a cursory google search finds nothing
how can i manage in django multiple domains? Our website will be configured like

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.