<?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: Accessing click event from inside onRowSelect()</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/accessing-click-event-from-inside-onrowselect</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/feature-request/accessing-click-event-from-inside-onrowselect/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Accessing click event from inside onRowSelect()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/accessing-click-event-from-inside-onrowselect#p3877</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/accessing-click-event-from-inside-onrowselect#p3877</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. I will consider this suggestion.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 08:44:51 +0200</pubDate>
        </item>
        <item>
        	<title>trevorsharrison on Accessing click event from inside onRowSelect()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/accessing-click-event-from-inside-onrowselect#p3830</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/accessing-click-event-from-inside-onrowselect#p3830</guid>
        	        	<description><![CDATA[<p>It doesn&#39;t seem like there is a way to get access to the click event in onRowSelect() under FF if I want to find out what modifier keys the user was pressing when they clicked.</p>
</p>
<p>As a hack, I&#39;m storing the event in the options object at the beginning of the click handler:</p>
</p>
<p>[line 1305 ish]</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; $(ts).before(grid.hDiv).css("width", grid.width+"px").click(function(e) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ts.p.event = e;&#160;&#160;&#160; // ADDED to allow access to event in onRowSelect()<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; td = (e.target &#124;&#124; e.srcElement);</p>
<p>Is there a better way of doing this?&#160; If not, would you consider making this change in your code so I don&#39;t have to maintain it in my copy?</p>
<p>-Trevor</p></p>
]]></description>
        	        	<pubDate>Mon, 05 Jan 2009 14:47:42 +0200</pubDate>
        </item>
</channel>
</rss>