<?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: Get correct row data with virtual scrolling</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling</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/get-correct-row-data-with-virtual-scrolling/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>JustinNoel on Get correct row data with virtual scrolling</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p21755</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p21755</guid>
        	        	<description><![CDATA[<p>Thank you so much for posting this question and the answer. &#160;I was having this same problem when trying to use the onSelectRow event. &#160;Setting &#39;key:true&#39; in the colmodel did the trick.</p>
]]></description>
        	        	<pubDate>Thu, 20 Jan 2011 01:02:02 +0200</pubDate>
        </item>
        <item>
        	<title>Jazar on Get correct row data with virtual scrolling</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19567</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19567</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Try to include <a href="/jqgridwiki/doku.php?id=wiki:colmodel_options" target="_blank"><strong>key: true</strong></a> in the declaration of the &#39;ID&#39; column.</p>
<p>Best regards<br />Oleg</p>
</blockquote>
<hr />
<p>That seems to have done the trick. Thank you very much!</p>
]]></description>
        	        	<pubDate>Tue, 07 Sep 2010 16:40:32 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Get correct row data with virtual scrolling</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19566</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19566</guid>
        	        	<description><![CDATA[<p>Try to include <a href="/jqgridwiki/doku.php?id=wiki:colmodel_options" target="_blank"><strong>key: true</strong></a> in the declaration of the &#39;ID&#39; column.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Tue, 07 Sep 2010 16:31:08 +0300</pubDate>
        </item>
        <item>
        	<title>Jazar on Get correct row data with virtual scrolling</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19564</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19564</guid>
        	        	<description><![CDATA[<p>Has anyone been able to get the correct Cell data when using virtual scrolling (after the first page)? Please help.</p>
</p>
<p>Thank you.</p>
]]></description>
        	        	<pubDate>Tue, 07 Sep 2010 15:03:48 +0300</pubDate>
        </item>
        <item>
        	<title>Jazar on Get correct row data with virtual scrolling</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19470</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-correct-row-data-with-virtual-scrolling#p19470</guid>
        	        	<description><![CDATA[<p>I&#39;m having a problem with selecting the correct row when scroll:1 (virtual scrolling). After loading the next page (after the first) of data the row id goes back to 1 and the .getCell method returns the first page data. &#160;For example clicking on record number 26 will return the rowid of 1 and the getCell name of the first record. Trying to find a cell value of rowid = 26 returns FALSE.</p>
</p>
<p>jQuery(&#39;#tblTest&#39;).jqGrid({</p>
<p style="padding-left: 30px;">url: &#39;data.php&#39;,</p>
<p style="padding-left: 30px;">datatype: &#39;json&#39;,</p>
<p style="padding-left: 30px;">mtype: &#39;GET&#39;,</p>
<p style="padding-left: 30px;">colNames: [&#39;ID&#39;, &#39;Name&#39;,  &#39;Phone Number&#39;],</p>
<p style="padding-left: 30px;">colModel: [</p>
<p style="padding-left: 30px;">{ name: &#39;ID&#39;, index: &#39;intID&#39;, sorttype: &#39;int&#39;, hidden: true, hidedlg: true },</p>
<p style="padding-left: 30px;">{ name: &#39;Name&#39;, index: &#39;strFirstName&#39;, width: 100 },</p>
<p style="padding-left: 30px;">{ name: &#39;Phone&#39;, index: &#39;strPhone&#39; },</p>
<p style="padding-left: 30px;">],</p>
<p style="padding-left: 30px;">scroll: 1,</p>
<p style="padding-left: 30px;">pager: &#39;#divTestPager&#39;,</p>
<p style="padding-left: 30px;">rowNum: 25,</p>
<p style="padding-left: 30px;">viewrecords: true,</p>
<p style="padding-left: 30px;">recordtext: &#39;{2} Record(s) Total&#39;,</p>
<p style="padding-left: 30px;">onSelectRow: function(rowid) {</p>
<p style="padding-left: 60px;">var clkid = jQuery("#tblTest").getCell(rowid, "Name");</p>
<p style="padding-left: 60px;">alert(&#39;rowid: &#39; + rowid + &#39; Name: &#39; + clkid);</p>
<p style="padding-left: 30px;">}</p>
<p>});</p></p>
]]></description>
        	        	<pubDate>Wed, 01 Sep 2010 21:52:59 +0300</pubDate>
        </item>
</channel>
</rss>