<?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: getRowData : how to access the result array</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-how-to-access-the-result-array</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/getrowdata-how-to-access-the-result-array/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>interlee on getRowData : how to access the result array</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-how-to-access-the-result-array#p924</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-how-to-access-the-result-array#p924</guid>
        	        	<description><![CDATA[<p>Oh... my bad.</p>
<p>There was a typo. $(&#8221;jq_teaching&#8221;) --&#62; $(&#8221;#jq_teaching&#8221;)</p>
<p>I am so sorry to bother you with it, but really appreciate&#160; you time.</p>
</p>
<p>Best,</p>
<p>Daniel</p>
]]></description>
        	        	<pubDate>Fri, 27 Jun 2008 09:13:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on getRowData : how to access the result array</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-how-to-access-the-result-array#p897</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-how-to-access-the-result-array#p897</guid>
        	        	<description><![CDATA[<p>Pease check the value of gr. Also try ret[&#39;amount&#39;].</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 27 Jun 2008 02:31:51 +0300</pubDate>
        </item>
        <item>
        	<title>interlee on getRowData : how to access the result array</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-how-to-access-the-result-array#p892</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-how-to-access-the-result-array#p892</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Would you please let me know how I can access the array returned by the method &#8220;getRowData()&#8221;? (I&#39;m using jqgrid 3.1)</p>
<p>For example, I defind the colModel as below.</p>
<p>$(&#8221;#jq_teaching&#8221;).jqGrid({<br />&#160;&#160; colModel :[...<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; {name:&#39;<strong>amount</strong>&#39;,index:&#39;amount&#39;,...},...<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; ]<br />});</p>
<p>And I added event hander in a button as below.</p>
<p>$(&#8221;#jq_btn_add&#8221;).click(function(){<br />&#160;&#160;&#160; var gr = $(&#8221;#jq_teaching&#8221;).getGridParam(&#39;selrow&#39;);<br />&#160;&#160;&#160; var ret = $(&#8221;jq_teaching&#8221;).<strong>getRowData</strong>(gr);<br />&#160;&#160;&#160; alert(&#8221;amount=&#8221;+<strong>ret.amount</strong>);<br />});</p>
<p>However, when I select one row in the grid and click the button to see the value passed through the array &#8220;ret&#8221; by referring to &#8220;ret.amount&#8221;, it shows &#8220;undefined&#8221;. (Please see the screen shot for your reference: <a href="http://mc-dev-01.tech.northwestern.edu/fact/www/temp/getRowData.gif" rel="nofollow" target="_blank">http://mc-dev-01.tech.northwestern.edu/fact/www/temp/getRowData.gif</a>)</p>
<p>I would appreciate any help on this.</p>
</p>
<p>Best,</p>
<p>Daniel</p>
]]></description>
        	        	<pubDate>Thu, 26 Jun 2008 11:15:23 +0300</pubDate>
        </item>
</channel>
</rss>