Felix
Felix

Reputation: 3134

Remove search option filters jqGrid

I'm trying to set few filters to search with this:

$.jgrid = {
 search : {
  caption: "Search...",
  Find: "Find",
  Reset: "Reset",
  odata : ['equal', 'not equal'],
  groupOps: [ { op: "AND", text: "all" }, { op: "OR",  text: "any" } ],
  matchText: " match",
  rulesText: " rules"
 }};

But I cannot get it to work. It is still listing all filters with an 'undefined' value on the option value. Any ideas?.

Upvotes: 1

Views: 5083

Answers (1)

Oleg
Oleg

Reputation: 221997

Try to use searchoptions in the with corresponding colModel and define sopt: ['eq','ne'].

Upvotes: 4

Related Questions