Forum
15:46
08/09/2010
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 :
this.searchoptions.sopt[0]:"cn"
(or any other u want to list is a bit before take a look)
16:02
10/08/2009
Look at my suggestion from /blog/?page_id=393/bugs/case-insensitive-local-searching/ and my answer /blog/?page_id=393/help/toolbar-search-case-insensitive/ with the demo http://www.ok-soft-gmbh.com/jq.....ilter3.htm.
Is it not what you want?
You can of case make the same changes in the source code of 3.7.2 and create a minimized version of 3.7.2 yourself with respect of YUI Compressor or other minimizer.
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
40 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66