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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:37:59+00:00 2026-06-18T21:37:59+00:00

I have been using jqGrid v4.0 and it’s working perfectly, but since i upgraded

  • 0

I have been using jqGrid v4.0 and it’s working perfectly, but since i upgraded to jqGrid v4.4.1, the FilterTolBar does not have the select fields visible anymore.

Here is my code:

<script type="text/javascript">
$(function() {
    var grid = $("#grid_container");
    grid.jqGrid({
        url:'index.php?getData=xml&',
        datatype: "xml",
        colNames:['id', 'user','sid', 'Status'],
        colModel:[
            {name:'id', index:'id', width:150, hidden:true},
            {name:'user', index:'user', width:150 , stype:'select', editoptions:{value: "Jhon:Jhon;Adam:Adam"}, searchoptions:{sopt:['cn']}},
            {name:'sid', index:'sid', width:65 },
            {name:'status', index:'status', width:110 },
        ],
        rowNum:20,
        rowList:[10,20,100],
        pager:'#grid_pager',
        sortname: 'user',
        sortorder: 'desc',
        height:'100%'
    })
    .jqGrid('filterToolbar' ,{searchOnEnter : true});

});

Thank you for any suggestion.

  • 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-18T21:38:00+00:00Added an answer on June 18, 2026 at 9:38 pm

    The current version of jqGrid is 4.4.4. If you have to use the old one you can try to include the same value not only in editoptions, but in searchoptions too. In case of usage filterToolbar it’s recommended to add additional value with empty value specially for searching. It will allow not filter for the column. So the definition of user column could be like below

    { name: 'user', stype: 'select',
        editoptions: { value: "Jhon:Jhon;Adam:Adam" },
        searchoptions: { sopt: ['eq'], value: ":Any;Jhon:Jhon;Adam:Adam" } }
    

    You should consider to delete hidden id column because id attribute of rows (<tr> elements of the grid) will be assigned based on id attribute of the input data if your fill the data correctly (see the documentation). If you don’t use editing of data you can remove editoptions and use only searchoptions. I strictly recommend you to use "eq" instead of "cn" for selects. The usage of "cn" will don’t allows you to use options like "a", "ab" and "abc" in one select. If the user will choose "ab" both "ab" and "abc" will be chosen. If the user chose "a" then tree options "a", "ab" and "abc" will be chosen. So jqGrid will work not like the user expect it.

    I recommend you additionally include gridview: true in all grids which you use to improve performance. The usage of autoencode: true is also required in the most use cases.

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

Sidebar

Related Questions

I have been using JSONKit in my app, but now that I have upgraded
I have been using echo $.sprintf(%01\$.2f,$numvar); for my USD formatting, but I only copied
I have been working with jqGrid and am a bit stumped as to why
have been using no DOCTYPE but rather simply starting with <html> as per HTML5
Have been using a simple CSS only tooltip. Working Example css: .tip { position:relative;
I have been using Trirand's jqGrid with ASP.NET MVC3 as well as the jquery.jqgrid
I'm using a jqGrid with a filterToolbar and though I have been able to
I have been looking at filtering jqGrid by datetime using the filterToolbar. My question
I have been using Objective C for quite a few years but I didn't
I have been using jqGrid for a few months now, and I have made

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.