<?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: unbind unload event handler</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/unbind-unload-event-handler</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/discussion/unbind-unload-event-handler/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Kenichi Sugihara on unbind unload event handler</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/unbind-unload-event-handler#p26022</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/unbind-unload-event-handler#p26022</guid>
        	        	<description><![CDATA[</p>
<p>I have a question to address the issue regarding unbinding unload event handler bound to window object in jqGrid.</p>
</p>
<p>In my application pages consists of main part and its contents, which will be dynamically loaded via AJAX as followings.</p>
</p>
<p>&#160;1. Load Main part via Ajax.</p>
<p>&#160; &#160; &#160;(In main js are implemented to load its contents.)</p>
<p>&#160;2. Load its contents part via Ajax.</p>
<p>&#160;3. User click a bottun.</p>
<p>&#160;4. Refresh not whole but contents part.</p>
</p>
<p>If user wants to render contents part which consists of jqGrid and the contents rendered already has jqGrid, unload event handler, which was bound in rendering former jqGrid, will be orphan.</p>
<p>In my application jqGrid is not reused but created as contents part is rendering.</p>
</p>
<p>How can I safely unbind its event handler ?</p>
</p>
<p>FYI: Binding unload event handler to $(window) is done line 2544 in jquery.jqGrid.src.js, version 4.3.1.</p>
</p>
<p>Regards.</p>
]]></description>
        	        	<pubDate>Tue, 28 Feb 2012 09:33:50 +0200</pubDate>
        </item>
</channel>
</rss>