问题
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.
来源:https://stackoverflow.com/questions/3977657/case-insensitive-search-in-jqgrid-including-hidden-fields