Just wanted to inform you, in case you weren't aware.
jQGrid, both the demonstration examples site and the plugin itself does not work in Firefox 4 beta (I think it has been like this since beta 1)
I may look around in the code a bit and see if I can help find why.
Hello,
Thank you for this information.
Actually we will wait for the final release.
Kind Regards
Tony
On firefox
An update to my previous post; it works with jQuery 1.4.3, however reports the 'not a function' still
cj said:
On firefox
The information that some grid have some error in Firefox 4 can not help. If you post some bug report you should allways provide the corresponding demo. How you can verify,
Problem is with older version of jqGrid. The older vesion loads the plugin through the jquery.jqgrid.js file which includes all other plugins for jqGrid.
The problem is caused by the JS rendering engine of Firefox 4.0. This is so fast that the the necessary files are not loaded on the document ready since the script is not finished executing at the time the document is loaded. The JS
To explain, this was the content old jquery.jqgrid.js file:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
function jqGridInclude()<br /> {<br /> <br /><br /> var pathtojsfiles = "components/com_portal/js/jgrid/js/"; // need to be ajusted<br /> // set include to false if you do not want some modules to be included<br /> var combineIntoOne = false;<br /> var combinedInclude = new Array();<br /> var combinedIncludeURL = "combine.php?type=javascript&files=";<br /> var minver = true;<br /> var modules = [<br /> { include: true, incfile:'grid.locale-en.js',minfile: 'min/grid.locale-en-min.js'}, // jqGrid translation<br /> { include: true, incfile:'grid.base.js',minfile: 'min/grid.base-min.js'}, // jqGrid base<br /> { include: true, incfile:'grid.common.js',minfile: 'min/grid.common-min.js' }, // jqGrid common for editing<br /> { include: true, incfile:'grid.formedit.js',minfile: 'min/grid.formedit-min.js' }, // jqGrid Form editing<br /> { include: true, incfile:'grid.inlinedit.js',minfile: 'min/grid.inlinedit-min.js' }, // jqGrid inline editing<br /> { include: true, incfile:'grid.celledit.js',minfile: 'min/grid.celledit-min.js' }, // jqGrid cell editing<br /> { include: true, incfile:'grid.subgrid.js',minfile: 'min/grid.subgrid-min.js'}, //jqGrid subgrid<br /> { include: true, incfile:'grid.treegrid.js',minfile: 'min/grid.treegrid-min.js'}, //jqGrid treegrid<br /> { include: true, incfile:'grid.custom.js',minfile: 'min/grid.custom-min.js'}, //jqGrid custom<br /> { include: true, incfile:'grid.postext.js',minfile: 'min/grid.postext-min.js'}, //jqGrid postext<br /> { include: true, incfile:'grid.tbltogrid.js',minfile: 'min/grid.tbltogrid-min.js'}, //jqGrid table to grid<br /> { include: true, incfile:'grid.setcolumns.js',minfile: 'min/grid.setcolumns-min.js'}, //jqGrid setcolumns<br /> { include: true, incfile:'grid.import.js',minfile: 'min/grid.import-min.js'}, //jqGrid import<br /> { include: true, incfile:'jquery.fmatter.js',minfile: 'min/jquery.fmatter-min.js'}, //jqGrid formater<br /> { include: true, incfile:'json2.js',minfile: 'min/json2-min.js'}, //json utils<br /> { include: true, incfile:'JsonXml.js',minfile: 'min/JsonXml-min.js'} //xmljson utils<br /> ];<br /> var filename;<br /> for(var i=0;i0) ) {<br /> var fileList = implode(",",combinedInclude);<br /> <br /><br /> IncludeJavaScript(combinedIncludeURL+fileList);<br /> }<br /> function implode( glue, pieces ) {<br /> // <a href="http://kevin.vanzonneveld.net" target="_blank" rel="nofollow">http://kevin.vanzonneveld.net</a><br /> //original by: Kevin van Zonneveld (<a href="http://kevin.vanzonneveld.net" target="_blank" rel="nofollow">http://kevin.vanzonneveld.net</a>)<br /> //example 1: implode(' ', ['Kevin', 'van', 'Zonneveld']);<br /> //returns 1: 'Kevin van Zonneveld'<br /> return ( ( pieces instanceof Array ) ? pieces.join ( glue ) : pieces );<br /> };<br /> <br /><br /> function IncludeJavaScript(jsFile)<br /> {<br /> var oHead = document.getElementsByTagName('head')[0];<br /> var oScript = document.createElement('script');<br /> oScript.type = 'text/javascript';<br /> oScript.src = jsFile;<br /> oHead.appendChild(oScript);<br /> };<br /> };<br /> jqGridInclude();<br /> |
The solution is to replace this file with the content of the javascripts files which are included in this function:
– grid.locale-en.js
– grid.base.js
– grid.common.js
Etc…
Richard<
Thanks for the replies
This is resolved
Hello,
jqGrid works fine in FireFox 4.0 officiall release.
Kind Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top