<?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 row number from a record id</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/get-row-number-from-a-record-id</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-row-number-from-a-record-id/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Basdub on Get row number from a record id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-row-number-from-a-record-id#p20156</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-row-number-from-a-record-id#p20156</guid>
        	        	<description><![CDATA[<p>This is the easiest way so far. doesn&#39;t account for situation when the rownumbers option of the gris is set to false;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7505' value='Select Code' data-codeid='sfcode7505' /></p>
<div class='sfcode' id='sfcode7505'>
<p>parseInt($(&#34;#&#34;+ id +&#34; &#62;td:first:first&#34;,ts.jqCtrl).html());</p>
</div>
<p>Hope this could help somebody.</p>
]]></description>
        	        	<pubDate>Wed, 06 Oct 2010 00:10:22 +0300</pubDate>
        </item>
        <item>
        	<title>Basdub on Get row number from a record id</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-row-number-from-a-record-id#p20153</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-row-number-from-a-record-id#p20153</guid>
        	        	<description><![CDATA[<p>In one of my grids, I hve set the rownumbers option to true and would like to use it a visual reference instead of the record_id.</p>
</p>
<p>In my event, i receive the record id and would like to retrieve its corresponding row number in the grid. Is there a way to achieve this in a relatively easy way?</p>
</p>
<p>using the getRowData with the id, doesn&#39;t provide me with the row number. Then i tought that i could scan all the record and count them like that. My issue at this point is; which column correspond to the id I am looking for.</p>
</p>
<p>Maybe there is a way to find which column is used as the id... then what if the id is an attribute of the record instead of a column(hidden or not)....</p>
<p>I am puzzled... Hopefully there&#39;s a better/easier way to retrieve this information without parsing the dom to retrieve this value.</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Tue, 05 Oct 2010 21:08:35 +0300</pubDate>
        </item>
</channel>
</rss>