<?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: How to patch by redefinition</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-patch-by-redefinition</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/how-to-patch-by-redefinition/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on How to patch by redefinition</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-patch-by-redefinition#p14765</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-patch-by-redefinition#p14765</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>No you just need to set this in the grid whithout to define it.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 12 Feb 2010 18:40:25 +0200</pubDate>
        </item>
        <item>
        	<title>postb99 on How to patch by redefinition</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-patch-by-redefinition#p14704</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-patch-by-redefinition#p14704</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p><span style="color: #000000;">My question is rather a JQuery one.</span></p>
</p>
<p>I&#39;d like to apply the following patch : <a href="http://www.trirand.com/blog/?p=529#comment-7472" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....mment-7472</a> (3.6.2 JqGrid).</p>
</p>
<p>Basically, what I need is to redefine some $.jgrid functions like this :</p>
</p>
<p>$.extend($.jgrid, {<br />&#160;&#160; &#160;addJSONData : function(data,t, rcnt, more, adjust) {</p>
<p>// original code with changed lines</p>
<p>}});</p>
</p>
<p>But I don&#39;t know how to redefine an attribute. The patch proposes to create a "row_pref" property, passed to jqGrid&#39;s constructor.</p>
</p>
<p>I also tried this but the variable seems to be empty (no change in html generated code) :</p>
</p>
<p>$.jgrid.p = $.extend($.jgrid.p,{row_pref:this.id});</p>
</p>
<p>Thanks for sharing your skills,</p>
</p>
<p>Barbara</p></p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 16:50:24 +0200</pubDate>
        </item>
</channel>
</rss>