<?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: Focus on grid row</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row</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/focus-on-grid-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>casperd on Focus on grid row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7338</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7338</guid>
        	        	<description><![CDATA[<p>Awesome! it&#39;s working!</p>
<p>Thanks Romyn!</p>
]]></description>
        	        	<pubDate>Fri, 19 Jun 2009 05:58:32 +0300</pubDate>
        </item>
        <item>
        	<title>Romyn on Focus on grid row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7319</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7319</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>&#8230;then just do it when you need to. I&#39;ve just tried it, as I needed to the same, and it worked fine. I have a number of grids that initialise and load when the page is loaded and in addition to that I select a default row within one of those grids (grid_r)&#8230;. so I do (my function names)</p>
<p>initialiseGrids();</p>
<p>loadGridData();</p>
<p>$(&#8221;#grid_r&#8221;).setSelection(curr_ID);</p>
<p>where curr_ID is my default row number.</p>
<p>That then selects the row for me and executes the OnRowSelect function which does whatever it does etc.</p>
</p>
<p>As long as the grid is there you can do it whenever you want within your code.</p>
</p>
<p>Hope that helps</p>
<p>Regards</p>
<p>Romyn</p>
]]></description>
        	        	<pubDate>Thu, 18 Jun 2009 09:50:11 +0300</pubDate>
        </item>
        <item>
        	<title>casperd on Focus on grid row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7310</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7310</guid>
        	        	<description><![CDATA[<p>Hi Romyn,</p>
<p>It&#39;s definitely the setSelection method I need. But, I need it to execute after all my grids have loaded, and not on a onClick event (as in the example).</p>
<p>Hope you can help me.</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Thu, 18 Jun 2009 01:43:14 +0300</pubDate>
        </item>
        <item>
        	<title>Romyn on Focus on grid row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7304</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7304</guid>
        	        	<description><![CDATA[<p>...or</p>
</p>
<p>...if you meant how to select a row with code as opposed to actually clicking on it then ...from the demos - <a href="http://trirand.com/jqgrid/jqgrid.html" rel="nofollow" target="_blank">http://trirand.com/jqgrid/jqgrid.html</a> - Advanced&#160; - Multi-Select ....</p>
<p>Select (unselect) Row 13</p>
<p>jQuery("#list9").setSelection("13");</p>
</p>
<p>Romyn</p></p>
]]></description>
        	        	<pubDate>Wed, 17 Jun 2009 21:31:00 +0300</pubDate>
        </item>
        <item>
        	<title>Drew on Focus on grid row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7300</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7300</guid>
        	        	<description><![CDATA[<p>I&#39;m not sure what you mean by focusing- I&#39;m going to assume you mean highlighting/outlining the row.&#160; If that&#39;s the case:</p>
<p>I think you could try using the onSelectRow event:</p>
<p>$(&#39;#myGrid&#39;).jqGrid({<br />...<br />onSelectRow: function(id) {<br />&#160; $(&#39;#&#39; + id).addClass("focusCssClass");<br />}<br />});</p>
]]></description>
        	        	<pubDate>Wed, 17 Jun 2009 20:27:41 +0300</pubDate>
        </item>
        <item>
        	<title>casperd on Focus on grid row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7295</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-grid-row#p7295</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>How do I set focus to a specifc row in a grid?</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Wed, 17 Jun 2009 15:43:17 +0300</pubDate>
        </item>
</channel>
</rss>