<?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: Triggered Events 4.3.2</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/triggered-events-4-3-2</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/triggered-events-4-3-2/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Triggered Events 4.3.2</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/triggered-events-4-3-2#p27287</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/triggered-events-4-3-2#p27287</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Of course you canu use afterInserRow in grid parameters instead as triggerHandler.</p>
</p>
<p>More on this you can <a href="/blog/?page_id=393/feature-request/usage-of-jquery-events-in-jqgrid-together-with-callback-functions-used-currently/&#38;value=triggerHandler&#38;type=1&#38;include=1&#38;search=1&#38;ret=all" target="_blank">find here</a></p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 10 Sep 2012 19:09:01 +0300</pubDate>
        </item>
        <item>
        	<title>rknorp on Triggered Events 4.3.2</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/triggered-events-4-3-2#p27269</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/triggered-events-4-3-2#p27269</guid>
        	        	<description><![CDATA[<p>A lot of new triggered events were added in 4.3.2.&#160; They are raised by calling jQuery triggerHandler.&#160; Because triggerHandler is called instead of trigger, the events do not bubble up the DOM.&#160; This makes it impossible to use .live() or .on() against the document and have the events bubble up and get handled.</p>
<p>Here&#39;s my problem.&#160; I have a grid.&#160;After the grid is set up, I call (for example):</p>
<p>$(<strong>document</strong>).on(&#39;jqGridAfterInsertRow&#39;, gridSelector, {}, function(e, rowId, rowData) {</p>
<p>&#160;&#160;&#160; // do some work</p>
<p>});</p>
<p>My handler doesn&#39;t get called because jqGridAfterInsertRow doesn&#39;t bubble up to the document.</p>
<p>If I use:</p>
<p>$(<strong>gridSelector</strong>).on(&#39;jqGridAfterInsertRow&#39;, function(e, rowId, rowData) {</p>
<p>&#160;&#160; // do some work</p>
<p>});</p>
<p>then things work great &#8211; until I call GridUnload and reuse the table element for a new grid with a different column model.&#160; GridUnload removes my handler.</p>
<p>Is there a reason that you chose to use triggerHandler instead of trigger for these new events?</p>
]]></description>
        	        	<pubDate>Thu, 06 Sep 2012 20:08:48 +0300</pubDate>
        </item>
</channel>
</rss>