I used jqgrid advanced search feature. The meaning of the default string in odata is not clear enough for some scientific data.
odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', …]
So I like to customized some of the string, e.g. change 'less' -> 'lower', and 'greater' to 'higher',
but the change will be on one column only.
I tried two ways so far, but have not got a solution.
Way 1: the odata will apply to all the columns in the grid.
jQuery().ready(function (){
$.extend($.jgrid.search,{Find:”Filter Results…”, caption:”Filter Results…”, odata:[…,'lower', 'lower and equal', 'higher', …]});
…
}
Way 2, only the sopt part works.
colModel:[
…
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top