<?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: How to add "infinite" 'localdata'?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-infinite-localdata</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/how-to-add-infinite-localdata/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on How to add "infinite" 'localdata'?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-infinite-localdata#p11663</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-infinite-localdata#p11663</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for the second. Will check it.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 09 Nov 2009 10:15:02 +0200</pubDate>
        </item>
        <item>
        	<title>tecozc on How to add "infinite" 'localdata'?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-infinite-localdata#p11628</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-infinite-localdata#p11628</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>The problem with addRowData it was solved...</p>
<p>I only add this options: <strong>numRows: 0</strong></p>
<p>But, the problem with the scrollbar not yet...</p>
<p>It has some way to use the jQuery-scrollTo plugin(<a href="http://plugins.jquery.com/project/ScrollTo" rel="nofollow" target="_blank"><a href="http://plugins.jquery.com/proj" rel="nofollow">http://plugins.jquery.com/proj</a>.....t/ScrollTo</a>) with jqGrid?</p>
<p>I tried use it but he did not work:&#160; <strong><span class="keyword">$</span>(<span class="string">&#39;#jqGridElement_IDName&#39;</span>).scrollTo(<span class="comment">0,0</span>);</strong></p>
</p>
<p>...</p>
]]></description>
        	        	<pubDate>Sun, 08 Nov 2009 06:37:19 +0200</pubDate>
        </item>
        <item>
        	<title>tecozc on How to add "infinite" 'localdata'?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-infinite-localdata#p11626</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-infinite-localdata#p11626</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>Well, I&#39;m having ploblems to add datas (by local mode, clientside) in my grid, the problem appears in pager and autoscroll.</p>
<p>&#8230;</p>
<p>On pager, it does not show correctly the value of &#8220;View&#8221;&#8230;</p>
<p>Sample:</p>
<p>&#160; It would have to show: &#39;View 1 &#8211; 12 of 12&#39;</p>
<p>&#160; But, it show: &#39;View -9 &#8211; 2 of 12&#39;</p>
</p>
<p>And, on autoscrool&#8230;<br />When the last row to be selected, and when I use setSelection(&#39;1&#39;, false)&#8230; It does not show first row (scroll do not jump)&#8230;</p>
</p>
<p>Somebody know why?</p>
<p>I&#39;m trying add data in this way&#8230;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit514' value='Select Code' data-codeid='sfcode514' /></p>
<div class='sfcode' id='sfcode514'>//Create<br />jQuery(&#8221;#t_historic_list&#8221;).jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; scrollrows : true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#39;local&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames:[&#39;Contador&#39;, &#39;Nome&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; {name:&#39;counter&#39;, index:&#39;counter&#39;},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; {name:&#39;name&#39;, index:&#39;name&#39;},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width: 780,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; height: 110,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pager: jQuery(&#39;#t_historic_list_pager&#39;)<br />&#160;&#160;&#160; &#160;&#160;&#160; });</p>
<p> var myRowData = new Array();<br /> //Set values in myRowData&#8230; (The length of myRowData is variable, it can be 1, 2, 100, 1000 or more.<br /> &#8230;<br /> //Adddata in grid<br />for (index = 0; index &#60; myRowData.length; index++ ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#8221;#t_historic_list&#8221;).addRowData(index+1, myRowData[index]);<br />}</p>
</div>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Sun, 08 Nov 2009 01:42:59 +0200</pubDate>
        </item>
</channel>
</rss>