<?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: Problem setting the selected row in teh gridcomplete event</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-setting-the-selected-row-in-teh-gridcomplete-event</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/problem-setting-the-selected-row-in-teh-gridcomplete-event/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>snorkel on Problem setting the selected row in teh gridcomplete event</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-setting-the-selected-row-in-teh-gridcomplete-event#p11451</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-setting-the-selected-row-in-teh-gridcomplete-event#p11451</guid>
        	        	<description><![CDATA[<p>Never mind, got it working, was just a stupid typo..</p>
]]></description>
        	        	<pubDate>Tue, 03 Nov 2009 09:40:57 +0200</pubDate>
        </item>
        <item>
        	<title>snorkel on Problem setting the selected row in teh gridcomplete event</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-setting-the-selected-row-in-teh-gridcomplete-event#p11450</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-setting-the-selected-row-in-teh-gridcomplete-event#p11450</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I need to programaticaly&#160;set the selected row after the grid has been fully loaded.</p>
<p>I use the grids ability to return userdata to get from the server what the first row is, or the last selected row from</p>
<p>the PHP session.</p>
</p>
<p>&#160;function ongridcomplete()<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var userdata = $("#companygrid").getGridParam(&#39;userData&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#companygrid").setSelection(userdata.firstid,true);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</p>
</p>
<p>The values get returned, but what happens is the grid selection becomes locked and I can&#39;t select any rows.</p>
]]></description>
        	        	<pubDate>Tue, 03 Nov 2009 09:17:39 +0200</pubDate>
        </item>
</channel>
</rss>