<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: TreeGrid no longer shows without Reload in FireFox 14.0.1</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-no-longer-shows-without-reload-in-firefox-14-0-1</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-no-longer-shows-without-reload-in-firefox-14-0-1/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on TreeGrid no longer shows without Reload in FireFox 14.0.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-no-longer-shows-without-reload-in-firefox-14-0-1#p27110</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-no-longer-shows-without-reload-in-firefox-14-0-1#p27110</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>The error you get point me that the</p>
<p><input type='button' class='sfcodeselect' name='sfselectit281' value='Select Code' data-codeid='sfcode281' /></p>
<div class='sfcode' id='sfcode281'>
<p>&#60;script src="js/jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;</p>
</div>
<p>is a not valid url or the jquery.jqGrid.js file does not exists in this directory.</p>
<p>Check with firebug if the file is loaded</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sat, 11 Aug 2012 09:55:36 +0300</pubDate>
        </item>
        <item>
        	<title>es101dev on TreeGrid no longer shows without Reload in FireFox 14.0.1</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-no-longer-shows-without-reload-in-firefox-14-0-1#p27108</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/treegrid-no-longer-shows-without-reload-in-firefox-14-0-1#p27108</guid>
        	        	<description><![CDATA[<p>Has anyone experienced a recent situation whereby their treegrid no longer load initially in firefox without reload?</p>
</p>
<p>These are the errors I am getting:</p>
<div class="logRow logRow-errorMessage">
<pre class="objectBox inline objectBox-errorMessage hasBreakSwitch "><div class="errorTitle focusRow subLogRow ">TypeError: jQuery("#west-grid").jqGrid is not a function</div><div class="errorSourceBox errorSource-show focusRow subLogRow "><table class=" " border="0" cellspacing="0" cellpadding="0"><tbody class=" "><tr class=" "><td class=" ">[Image Can Not Be Found]</td><td class=" "><a class="errorSource a11yFocus " target="_blank"><pre class="errorSourceCode " title="onSelectRow: function(rowid) {">onSelectRow: function(rowid) {</pre>
</p>
<p></a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">/administrator/ (line 107)</div>
</p>
<p></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="logRow logRow-errorMessage">
<pre class="objectBox inline objectBox-errorMessage hasBreakSwitch "><div class="errorTitle focusRow subLogRow ">TypeError: $.jgrid.extend is not a function</div><div class="errorSourceBox errorSource-show focusRow subLogRow "><table class=" " border="0" cellspacing="0" cellpadding="0"><tbody class=" "><tr class=" "><td class=" ">[Image Can Not Be Found]</td><td class=" "><a class="errorSource a11yFocus " target="_blank"><pre class="errorSourceCode " title="restoreRow : function(rowid, afterrestorefunc) {">restoreRow : function(rowid, afterrestorefunc) {</pre>
</p>
<p></a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">grid.inlinedit.js (line 223)</div>
</p>
<p></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="logRow logRow-errorMessage">
<pre class="objectBox inline objectBox-errorMessage hasBreakSwitch "><div class="errorTitle focusRow subLogRow ">TypeError: $.jgrid.extend is not a function</div><div class="errorSourceBox errorSource-show focusRow subLogRow "><table class=" " border="0" cellspacing="0" cellpadding="0"><tbody class=" "><tr class=" "><td class=" ">[Image Can Not Be Found]</td><td class=" "><a class="errorSource a11yFocus " target="_blank"><pre class="errorSourceCode " title="toggleSubGridRow : function(rowid) {">toggleSubGridRow : function(rowid) {</pre>
</p>
<p></a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">grid.subgrid.js (line 239)</div>
</p>
<p></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="logRow logRow-errorMessage">
<pre class="objectBox inline objectBox-errorMessage hasBreakSwitch "><div class="errorTitle focusRow subLogRow ">TypeError: $.jgrid.extend is not a function</div><div class="errorSourceBox errorSource-show focusRow subLogRow "><table class=" " border="0" cellspacing="0" cellpadding="0"><tbody class=" "><tr class=" "><td class=" ">[Image Can Not Be Found]</td><td class=" "><a class="errorSource a11yFocus " target="_blank"><pre class="errorSourceCode " title="getChangedCells : function (mthd) {">getChangedCells : function (mthd) {</pre>
</p>
<p></a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">grid.celledit.js (line 448)</div>
</p>
<p></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="logRow logRow-errorMessage">
<pre class="objectBox inline objectBox-errorMessage hasBreakSwitch "><div class="errorTitle focusRow subLogRow ">TypeError: $.jgrid.extend is not a function</div><div class="errorSourceBox errorSource-show focusRow subLogRow "><table class=" " border="0" cellspacing="0" cellpadding="0"><tbody class=" "><tr class=" "><td class=" ">[Image Can Not Be Found]</td><td class=" "><a class="errorSource a11yFocus " target="_blank"><pre class="errorSourceCode " title="getUserDataItem : function( key ) {">getUserDataItem : function( key ) {</pre>
</p>
<p></a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">grid.postext.js (line 58)</div>
</p>
<p></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="logRow logRow-errorMessage">
<pre class="objectBox inline objectBox-errorMessage hasBreakSwitch "><div class="errorTitle focusRow subLogRow ">TypeError: $.jgrid.extend is not a function</div><div class="errorSourceBox errorSource-show focusRow subLogRow "><table class=" " border="0" cellspacing="0" cellpadding="0"><tbody class=" "><tr class=" "><td class=" ">[Image Can Not Be Found]</td><td class=" "><a class="errorSource a11yFocus " target="_blank"><pre class="errorSourceCode " title="delTreeNode : function (rowid) {">delTreeNode : function (rowid) {</pre>
</p>
<p></a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">grid.treegrid.js (line 469)</div>
</p>
<p></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="logRow logRow-errorMessage">
<pre class="objectBox inline objectBox-errorMessage hasBreakSwitch "><div class="errorTitle focusRow subLogRow ">TypeError: $.jgrid.extend is not a function</div><div class="errorSourceBox errorSource-show focusRow subLogRow "><table class=" " border="0" cellspacing="0" cellpadding="0"><tbody class=" "><tr class=" "><td class=" ">[Image Can Not Be Found]</td><td class=" "><a class="errorSource a11yFocus " target="_blank"><pre class="errorSourceCode " title="setColumns : function(p) {">setColumns : function(p) {</pre>
</p>
<p></a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">grid.s...umns.js (line 11)</div>
</p>
<p></a></td>
</tr>
</tbody>
</table>
<p>My code is as follows:</p>
<p>&#60;head&#62;<br />&#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62;<br />&#60;title&#62;EventStaffing101&#60;/title&#62;<br />&#60;!--&#160; &#60;link href="js/upload/fileuploader.css" rel="stylesheet" type="text/css"&#62;&#160;&#160; &#160;--&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.8.2.custom.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="themes/ui.jqgrid.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="themes/ui.multiselect.css" /&#62;<br />&#60;style&#62;<br />#LeftPane {<br />&#160;&#160; &#160;/* optional, initial splitbar position */<br />&#160;&#160; &#160;overflow:hidden;<br />}<br />/*<br />&#160;* Right-side element of the splitter.<br />*/</p>
<p>#RightPane {<br />&#160;&#160; &#160;padding: 0px;<br />&#160;&#160; &#160;overflow: auto;<br />}<br />.ui-tabs-nav li {position: relative;}<br />.ui-tabs-selected a span {padding-right: 10px;}<br />.ui-tabs-close {display: none;position: absolute;top: 3px;right: 0px;z-index: 800;width: 16px;height: 14px;font-size: 10px; font-style: normal;cursor: pointer;}<br />.ui-tabs-selected .ui-tabs-close {display: block;}<br />.ui-layout-west .ui-jqgrid tr.jqgrow td { border-bottom: 0px none;}<br />.ui-datepicker {z-index:1200;}<br />.rotate<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; /* for Safari */<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; -webkit-transform: rotate(-90deg);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; /* for Firefox */<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; -moz-transform: rotate(-90deg); </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; /* for Internet Explorer */<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);<br />&#160;&#160;&#160; }</p>
<p>&#60;/style&#62;</p>
<p>&#60;script src="js/jquery-1.7.1.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery-ui-1.8.17.custom.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.layout.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript"&#62;<br />//var rowNum1=20;</p>
<p>&#160;&#160; &#160;//$.jgrid.no_legacy_api = true;<br />&#160;&#160; &#160;//$.jgrid.useJSON = true;<br />&#60;/script&#62;</p>
<p>&#60;script src="js/ui.multiselect.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript"&#62;</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160; //$(&#39;#switcher&#39;).themeswitcher();<br />&#160; <br />&#160;&#160; &#160;$(&#39;body&#39;).layout(<br />&#160;&#160; &#160;{<br />&#160;&#160; &#160;&#160;&#160; &#160;resizerClass: &#39;ui-state-default&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; west__onresize: function (pane, $Pane) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#west-grid").jqGrid(&#39;setGridWidth&#39;,$Pane.innerWidth()-2);<br />&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;});<br />&#160;&#160; &#160;$.jgrid.defaults = $.extend($.jgrid.defaults,{loadui:"enable"});<br />&#160;&#160; &#160;var maintab =jQuery(&#39;#tabs&#39;,&#39;#RightPane&#39;).tabs({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; add: function(e, ui) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // append close thingy<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(ui.tab).parents(&#39;li:first&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .append(&#39;&#60;span class="ui-tabs-close ui-icon ui-icon-close" title="Close Tab"&#62;&#60;/span&#62;&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .find(&#39;span.ui-tabs-close&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .click(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; maintab.tabs(&#39;remove&#39;, $(&#39;li&#39;, maintab).index($(this).parents(&#39;li:first&#39;)[0]));<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // select just added tab<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; maintab.tabs(&#39;select&#39;, &#39;#&#39; + ui.panel.id);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; });<br />&#160;&#160;&#160; jQuery("#west-grid").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: "tree.xml",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "xml",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: "auto",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadui: "disable",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: ["id","Items","url"],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name: "id",width:1,hidden:true, key:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name: "menu", width:150, resizable: false, sortable:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name: "url",width:1,hidden:true}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeGrid: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;caption: "EventStaffing101",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ExpandColumn: "menu",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; autowidth: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; //width: 180,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ExpandColClick: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; treeIcons: {leaf:&#39;ui-icon-document-b&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; onSelectRow: function(rowid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var treedata = $("#west-grid").jqGrid(&#39;getRowData&#39;,rowid);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(treedata.isLeaf=="true") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //treedata.url<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var st = "#t"+treedata.id;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;//alert(st);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if($(st).html() != null ) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;maintab.tabs(&#39;select&#39;,st);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} else {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;maintab.tabs(&#39;add&#39;,st, treedata.menu);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$(st,"#tabs").load(treedata.url);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; });<br />&#160;&#160;&#160; <br />I&#39;m not an expert on jQuery as this was developed by a team that is no longer in business, so easy to understand responses and comments are greatly appreciated.  By the way,<br />this issue does not exist in MS IE browsers.</p>
</div>
</div>
]]></description>
        	        	<pubDate>Sat, 11 Aug 2012 00:01:49 +0300</pubDate>
        </item>
</channel>
</rss>