Forum
21:47
09/04/2011
If you want to use jqGrid 4.0 on xhtml-page, you must make valid code. Replace:
- if(this.tagName!="TABLE")
->
if(this.tagName.toLowerCase()!='table') - <a href='javascript:void(0)' id='"+H+"' class='fm-button ui-state-default ui-corner-left'><span class='ui-icon ui-icon-triangle-1-w'></span></div>
->
<a href='javascript:void(0)' id='"+H+"' class='fm-button ui-state-default ui-corner-left'><span class='ui-icon ui-icon-triangle-1-w'></span></a> - <a href='javascript:void(0)' id='"+X+"' class='fm-button ui-state-default ui-corner-right'><span class='ui-icon ui-icon-triangle-1-e'></span></div>
->
<a href='javascript:void(0)' id='"+X+"' class='fm-button ui-state-default ui-corner-right'><span class='ui-icon ui-icon-triangle-1-e'></span></a> - " selected=selected"
->
" selected='selected'"
23:22
10/08/2009
Hello Boris,
it would be much better if you will post the information based on uncompressed code of jqGrid, for example, from the jquery.jqGrid.src.js or more better from the original version of jqGrid modules which you will find in the src directory of downloaded zip file. At the end one have to find the corresponding place in the jqGrid original code.
- I use only XHTML pages and the tagName in all web browsers are in capital characters. I don't think that one need change if(this.tagName!="TABLE") to if(this.tagName.toLowerCase()!='table'). If you do have an example post it, but with the exact information which web browser and in which version has problem.
- You mean probebly the lines 903 and 904 of the grid.formedit.js where
bN = "<a href='javascript:void(0)' id='"+bn+"' class='fm-button ui-state-default ui-corner-right'><span class='ui-icon ui-icon-triangle-1-e'></span></div>",
should be fixed to
bN = "<a href='javascript:void(0)' id='"+bn+"' class='fm-button ui-state-default ui-corner-right'><span class='ui-icon ui-icon-triangle-1-e'></span></a>",
In the line 377 of the grid.filter.js
should be included quotes
Best regards
Oleg
23:42
09/04/2011
I'm using HTML5 page.
tagName in all web browsers are in capital characters with content_type = 'text/html'. But tagName in all web browsers are in lower case with content_type = 'application/xhtml+xml'. Better to make code independed of content_type.
Also you can make
2. yes
12:56
Moderators
30/10/2007
Hello,
Thanks fixed.
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
39 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