Posting that coz took me quite a while to figure where to put my code in the compiled version.
Some of ya asked, some like me cant wait 3.8 (my release is by wenesday… so had to make it work)
Here is an easy fix.
in jquery.jqGrid.min.js
Change line 26 or add red text :
L?c._append(c._getStr(“this.”+l)+”.substr(“+c._getStr(“this.”+l)+”.length-“+o+”,”+o+') == “'+c._toStr(m)+'”'):c._append(c._getStr(“this”)+”.substr(“+c._getStr(“this”)+'.length-“'+c._toStr(l)+'”.length,”'+c._toStr(l)+'”.length) == “'+c._toStr(l)+'”');c._setCommand(c.endsWith,l);c._resetNegate();return c};this.contains=function(l,m){L?c._append(c._getStr(“this.”+l)+'.toLowerCase().indexOf(“'+c._toStr(m).toLowerCase()+'”,0) > -1'):c._append(c._getStr(“this”)+'.indexOf(“'+c._toStr(l)+'”,0) > -1');c._setCommand(c.contains,l);c._resetNegate();
As a reminder to switch to contain by default =>
in jquery.jqGrid.min.js
in line 228
this.searchoptions.sopt[0]:”bw”
should be changed to
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top