<?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: Trying to set a row based on data</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/trying-to-set-a-row-based-on-data</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/discussion/trying-to-set-a-row-based-on-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>adviner on Trying to set a row based on data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/trying-to-set-a-row-based-on-data#p24631</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/trying-to-set-a-row-based-on-data#p24631</guid>
        	        	<description><![CDATA[<p>I know you can use the setSelection method to set a given row.&#160; But i was wondering if i can set it based on a cell data.</p>
<p>Example of my grid:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;ID&#39;, &#39;Listings&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ID&#39;, index: &#39;id&#39;, width: 1, sorttype: "int", hidden: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ListingName&#39;, index: &#39;listing&#39;, width: 40, sorttype: "string" }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],</p>
<p>I have a screen were i create a new entry where the id and name of the entry will end up on the grid.&#160; So I save the data and then i re-build the grid.&#160; Knowing for example the new entry has an ID=45 (I also know the ListingName).&#160; Can i set the grids&#39;s selected row based on the ID since i dont know what row it is on?</p></p>
]]></description>
        	        	<pubDate>Thu, 15 Sep 2011 23:00:39 +0300</pubDate>
        </item>
</channel>
</rss>