Case insensitive search in jqGrid including hidden

2019-02-15 12:34发布

问题:

I have few hidden fields in my jqGrid on which I have to perform a case insensitive search (may be using regex - not sure). Is it possible? Can someone give me directions on it?

Thanks!

回答1:

You should inseart searchhidden option equal to true in the column definition (colModel):

searchoptions:{searchhidden:true}

To make searching case insensitive you can use jQgrid option ignoreCase:true.