<?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: localReader parameter will be overwritten for TreeGrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/localreader-parameter-will-be-overwritten-for-treegrid</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/localreader-parameter-will-be-overwritten-for-treegrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on localReader parameter will be overwritten for TreeGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/localreader-parameter-will-be-overwritten-for-treegrid#p26260</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/localreader-parameter-will-be-overwritten-for-treegrid#p26260</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>There are small bug in case of TreeGrid. <a href="https://github.com/tonytomov/jqGrid/blob/v4.3.1/js/grid.base.js#L2079" target="_blank">The line</a>&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8382' value='Select Code' data-codeid='sfcode8382' /></p>
<div class='sfcode' id='sfcode8382'>if(ts.p.datatype != &#34;local&#34;) { ts.p.localReader = {id: &#34;_id_&#34;};	}</div>
<p>can be fixed to</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1244' value='Select Code' data-codeid='sfcode1244' /></p>
<div class='sfcode' id='sfcode1244'>if(ts.p.datatype != &#34;local&#34;) {<br />&#160; &#160; ts.p.localReader = ts.p.localReader &#124;&#124; {};<br />&#160; &#160; ts.p.localReader.id = &#34;_id_&#34;;<br />}</div>
<p>In the case one will be able to define other properties as <strong>id</strong>.</p>
<p>To tell the trust I don&#39;t really undersand why one should overwrite the <strong>localReader.id</strong> to "<strong>_id_"</strong> at all (in any combination of jqGrid). I can imagine that one can just test wether the <strong>localReader.id</strong>&#160;is undefined and only if it is undefined one can set it to "id" or "_id_" depend on the other jqGrid options. Currently one can&#39;t specify <strong>localReader.id</strong>&#160;at all. It&#39;s not convenient in some scenarios.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Thu, 29 Mar 2012 22:32:54 +0300</pubDate>
        </item>
</channel>
</rss>