<?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: Am not getting basic data array to work</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work</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/help/am-not-getting-basic-data-array-to-work/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Am not getting basic data array to work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16844</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16844</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m not sure, but if you set to use the new API, you will need to do it so:</p>
<p>for(var i=0;i&#60;=mydata.length;i++) <br />&#160;&#160;&#160;  jQuery("#list4&#8243;).jqGrid(&#39;addRowData&#39;,i+1,mydata[i]);</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 02 May 2010 14:45:12 +0300</pubDate>
        </item>
        <item>
        	<title>DadOnRed on Am not getting basic data array to work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16726</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16726</guid>
        	        	<description><![CDATA[<p>Tony, thanks for reading. I removed that line and the next two, i.e., :</p>
</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; rowNum:10,<br />&#160;&#160;   &#160;&#160;&#160; &#160;&#160;&#160; &#160; viewrecords: true,</p>
</p>
<p>but it still will not run for me (won&#39;t display anything).</p>
]]></description>
        	        	<pubDate>Mon, 26 Apr 2010 20:26:02 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Am not getting basic data array to work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16703</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16703</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Seems that everthing is ok. Could you please remove this from grid option:</p>
<p>pager: jQuery(&#39;#pager&#39;),</p>
<p>The pager is not defined, but you point to it.</p>
<p>Do you have any error when you run this script?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 26 Apr 2010 15:06:08 +0300</pubDate>
        </item>
        <item>
        	<title>DadOnRed on Am not getting basic data array to work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16647</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/am-not-getting-basic-data-array-to-work#p16647</guid>
        	        	<description><![CDATA[<p>I am having problems getting data array to work based on what I&#39;ve read in the example and in this forum. I must be missing something basic. My symptom is that nothing is appearing in the web browser when I load the page. I appreciate any help here.</p>
<p>Here is what I currently have (excerpted). All the xml and files are in the same directory as the .html file:</p>
<p>
&#60;html&#62;</p>
<p>&#60;head&#62;</p>
<p>&#60;link rel="stylesheet" type="text/css" media="screen"  href="./jquery-ui-1.7.2.custom.css" /&#62;<br />&#60;link rel="stylesheet"  type="text/css" media="screen" href="./ui.jqgrid.css" /&#62;<br />&#60;script  src="./grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script  src="./jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#60;script  type="text/javascript"&#62;&#160; &#160;<br />&#160;jQuery(document).ready(function(){<br />&#160;&#160;&#160;  jQuery("#list4&#8243;).jqGrid({ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype: "local", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  height: 250, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Backup No&#39;,&#39;Date&#39;, &#39;Size&#39;,  &#39;Direction&#39;,&#39;Elapsed Time&#39;,&#39;Completed?&#39;,&#39;Notes&#39;], <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  colModel:[ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;,index:&#39;id&#39;, width:60,  sorttype:"int"}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {name:&#39;bkupdate&#39;,index:&#39;bkupdate&#39;, width:90, sorttype:"date"}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {name:&#39;size&#39;,index:&#39;size&#39;, width:60}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {name:&#39;direction&#39;,index:&#39;direction&#39;, width:150,  align:"left",sorttype:"float"}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {name:&#39;dur&#39;,index:&#39;dur&#39;, width:80, align:"right",sorttype:"float"}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {name:&#39;succ&#39;,index:&#39;succ&#39;, width:30,align:"right",sorttype:"float"}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false} <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  ], <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; rowNum:10,<br />&#160;&#160;  &#160;&#160;&#160; &#160;&#160;&#160; &#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  caption: "Offsite Data Transfer Log Summary" <br />&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160; var  mydata = [ <br />&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;  &#160;{id:"1",bkupdate:"2010-04-30",size:"12GB",direction:"LAN to  DC1",dur:"450",succ:"Y",note:"note"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;  &#160;{id:"2",bkupdate:"2010-04-29",size:"12GB",direction:"LAN to  DC1",dur:"430",succ:"Y",note:"note2"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {id:"3",bkupdate:"2010-04-28",size:"11GB",direction:"LAN to  DC1",dur:"420",succ:"Y",note:"note3"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {id:"4",bkupdate:"2010-04-27",size:"11GB",direction:"LAN to  DC2",dur:"425",succ:"Y",note:"note"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {id:"5",bkupdate:"2010-04-26",size:"10GB",direction:"LAN to  DC1",dur:"410",succ:"Y",note:"note2"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {id:"6",bkupdate:"2010-04-25",size:"10GB",direction:"LAN to  DC1",dur:"400",succ:"Y",note:"note3"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {id:"7",bkupdate:"2010-04-24",size:"9GB",direction:"LAN to  DC1",dur:"390",succ:"Y",note:"note"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {id:"8",bkupdate:"2010-04-23",name:"9GB",direction:"LAN to  DC1",dur:"380",succ:"Y",note:"note2"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {id:"9",bkupdate:"2010-04-22",name:"8GB",direction:"LAN to  DC1",dur:"375",succ:"Y",note:"note3"} <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ];<br />&#160;&#160;&#160;&#160;&#160;  for(var i=0;i&#60;=mydata.length;i++) <br />&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;  jQuery("#list4&#8243;).addRowData(i+1,mydata[i]);<br />&#160; });<br />&#160;&#60;/script&#62;<br />&#60;/head&#62;</p>
</p>
<p>&#60;body&#62;</p>
<p>&#160;&#60;table id="list4"&#62;&#60;/table&#62;</p>
<p>&#60;/body&#62;</p>
<p>&#60;/html&#62;</p>
<table class="sfclear sffooter" border="0">
<tbody>
<tr>
<td>
<div class="sfstatustags">[Image Can Not Be Found]</div>
</td>
</tr>
</tbody>
</table>
<table class="sffooter" border="0">
<tbody>
<tr>
<td class="sfpagelinks"></td>
<td class="sfadditemcell"><a class="sficon" onclick="sfjtoggleLayer(&#39;sfpostform&#39;);" target="_blank">[Image Can Not Be Found]</a></td>
</tr>
</tbody>
</table>
]]></description>
        	        	<pubDate>Sat, 24 Apr 2010 21:52:31 +0300</pubDate>
        </item>
</channel>
</rss>