<?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: Sub-objects not handled properly by addRowData, setRowData</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata</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/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jsiler on Sub-objects not handled properly by addRowData, setRowData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata#p15367</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata#p15367</guid>
        	        	<description><![CDATA[<p>Thanks for the reply Tony.....</p>
]]></description>
        	        	<pubDate>Thu, 04 Mar 2010 22:24:47 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Sub-objects not handled properly by addRowData, setRowData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata#p15362</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata#p15362</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is true and I will not refer this as bug, but rather as asking a feature.</p>
<p>The behaviour is described here:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods#grid_related_methods" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ed_methods</a></p>
<p>Also we will try to improve it according to your requirments.</p>
<p>Best Regsrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 04 Mar 2010 19:09:32 +0200</pubDate>
        </item>
        <item>
        	<title>jsiler on Sub-objects not handled properly by addRowData, setRowData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata#p15316</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/sub-objects-not-handled-properly-by-addrowdata-setrowdata#p15316</guid>
        	        	<description><![CDATA[<p>I am running jquery 1.3.2 and jqgrid 3.6.4 via FF 3.6 and seem to be seeing consistent handling of sub-objects. In the following example, the data is properly loaded via the addJSONData, but the sub-object grid columns are not being properly updated in the subsequent calls to setRowData and addRowData. Any suggestions?</p>
</p>
<p>&#160;&#160;&#160; jQuery("#list4").jqGrid({ <br />&#160;&#160; &#160;&#160;&#160; &#160;jsonReader: { repeatitems : false, id: "0" }, <br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: "json", <br />&#160;&#160; &#160;&#160;&#160; &#160;height: 250, <br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Inv No&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;Date&#39;, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;Client&#39;, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;Amount&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;Tax&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;Total&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;Notes&#39;], <br />&#160;&#160; &#160;&#160;&#160; &#160;colModel:[ {name:&#39;id&#39;,index:&#39;id&#39;, width:60, sorttype:"int"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, sorttype:"date"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;name&#39;,index:&#39;name&#39;, width:100}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;sub.amount&#39;,index:&#39;sub.amount&#39;, width:80, align:"right",sorttype:"float"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;sub.tax&#39;,index:&#39;sub.tax&#39;, width:80, align:"right",sorttype:"float"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;sub.total&#39;,index:&#39;sub.total&#39;, width:80,align:"right",sorttype:"float"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false} ], <br />&#160;&#160; &#160;&#160;&#160; &#160;caption: "Manipulating Array Data" <br />&#160;&#160; &#160;}); </p>
<p>&#160;&#160; &#160;jQuery(&#39;#list4&#39;)[0].addJSONData({"page":"1","total":2,"records":"13","rows":[{"id":"13","invdate":"2007-10-06","name":"Client 3","sub":{"amount":"1000.00","tax":"0.00","total":"1000.00"},"note":null},{"id":"12","invdate":"2007-10-06","name":"Client 2","sub":{"amount":"700.00","tax":"140.00","total":"840.00"},"note":null},{"id":"11","invdate":"2007-10-06","name":"Client 1","sub":{"amount":"600.00","tax":"120.00","total":"720.00"},"note":null},{"id":"10","invdate":"2007-10-06","name":"Client 2","sub":{"amount":"100.00","tax":"20.00","total":"120.00"},"note":null},{"id":"9","invdate":"2007-10-06","name":"Client 1","sub":{"amount":"200.00","tax":"40.00","total":"240.00"},"note":null},{"id":"8","invdate":"2007-10-06","name":"Client 3","sub":{"amount":"200.00","tax":"0.00","total":"200.00"},"note":null},{"id":"7","invdate":"2007-10-05","name":"Client 2","sub":{"amount":"120.00","tax":"12.00","total":"134.00"},"note":null},{"id":"6","invdate":"2007-10-05","name":"Client 1","sub":{"amount":"50.00","tax":"10.00","total":"60.00"},"note":null},{"id":"5","invdate":"2007-10-05","name":"Client 3","sub":{"amount":"100.00","tax":"0.00","total":"100.00"},"note":"no tax"},{"id":"4","invdate":"2007-10-04","name":"Client 3","sub":{"amount":"150.00","tax":"0.00","total":"150.00"},"note":"no tax"}]});<br />&#160;&#160; &#160;jQuery("#list4").jqGrid(&#39;setRowData&#39;,13,{"id":"13","invdate":"2010-03-02","name":"Modified","note":"setRowData","sub":{"amount":"333.00","tax":"222.00","total":"444.00"}});<br />&#160;&#160; &#160;jQuery("#list4").jqGrid(&#39;addRowData&#39;,15,{"id":"15","invdate":"2010-03-02","name":"Added","note":"addRowData","sub":{"amount":"444.00","tax":"333.00","total":"555.00"}});</p>
]]></description>
        	        	<pubDate>Tue, 02 Mar 2010 23:16:38 +0200</pubDate>
        </item>
</channel>
</rss>