<?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: userData loaded with loadonce:true will be not saved for locally</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally</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/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on userData loaded with loadonce:true will be not saved for locally</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally#p19383</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally#p19383</guid>
        	        	<description><![CDATA[<p>Hi Tony!</p>
<p>I thought, that somewhere one should just set <strong>p.data.userData</strong> from <strong>p.userData</strong>.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Fri, 27 Aug 2010 19:28:11 +0300</pubDate>
        </item>
        <item>
        	<title>tony on userData loaded with loadonce:true will be not saved for locally</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally#p19375</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally#p19375</guid>
        	        	<description><![CDATA[<p>Oleg,</p>
<p>Thanks. Not sure how to consider this. Instead the fix is easy:</p>
<p>From</p>
<p>ts.p.userData = $.jgrid.getAccessor(data,dReader.userdata) &#124;&#124; {};</p>
<p>to</p>
<p>if(ts.p.datatype != "local") {</p>
<p>&#160;&#160;&#160; ts.p.userData = $.jgrid.getAccessor(data,dReader.userdata) &#124;&#124; {};</p>
<p>}</p>
</p>
<p>Let me think a little bit</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 27 Aug 2010 19:02:44 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on userData loaded with loadonce:true will be not saved for locally</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally#p19359</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/userdata-loaded-with-loadoncetrue-will-be-not-saved-for-locally#p19359</guid>
        	        	<description><![CDATA[<p>Hi Tony!</p>
<p>During preparing one test example I could see that JSON data having userData and successful loaded with loadonce:true has in loadComplete the userData, but at the next data refresh jQuery("#list").getGridParam(&#39;userData&#39;) gives no not this data.</p>
<p>I tested this only with 3.7.2 and not with 3.8, but if the problem is not fixed it must exist.</p>
<p>To reproduce the problem you can use <a href="http://www.ok-soft-gmbh.com/jqGrid/DataToSelect.htm" target="_blank">this example</a> and set breakpoint inside loadComplete. One can see that at the first call of loadComplete jQuery("#list").getGridParam(&#39;userData&#39;) exist, but at the next call there are no more ts.p.userData.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Fri, 27 Aug 2010 05:46:20 +0300</pubDate>
        </item>
</channel>
</rss>