vthokie11

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Problem with Search #125021
    vthokie11
    Participant

    Ok so this is what the filters string unescapes to

    {"groupOp":"AND","rules":[{"field":"company_id","op":"eq","data":"CarMax"}]}

    the rules look correct, I’m not sure what the groupOp does ??

    in reply to: Problem with Search #125018
    vthokie11
    Participant

    The demo does work. I’ve included the GET request.

    http://parrinc2.com/jqgrid/grid.php?oper=grid&_search=true&nd=1458746712544&rows=10&page=1&sidx=OrderID&sord=asc&searchField=OrderID&searchString=10248&searchOper=eq&filters=

    Note that the searchOper, searchString, and searchField are properly populated.

    • This reply was modified 6 years, 2 months ago by vthokie11.
    in reply to: Problem with Search #125016
    vthokie11
    Participant

    What I mean by default search is that I just set search = true in the navOptions

    $grid->setNavOptions('navigator', array("excel"=>false,"add"=>false,"edit"=>false,"del"=>false,"view"=>false, "search"=>true));

    I was using the Search Dialog demo from here as  a reference.

    If I take the GET request and fill in the searchField, searchOper, and searchString the search works properly.  As you can see from the original post those fields are not populated.

    in reply to: Problem with Search #125010
    vthokie11
    Participant

    Below is my entire grid. Its pretty simple.  I’m just trying to get the default search working. I’ve been reference the Search Dialog demo from here, http://www.guriddo.net/demo/demos/jqgrid/ .  I am using PHP version 5.5.22 and jqGrid version 4.8.  I am using Google Chrome Version 48.0.2564.116 m.  If I manually fill in the search parameters for the GET request then it works as expected.

Viewing 4 replies - 1 through 4 (of 4 total)

Stay connected with us in your favorite flavor!