<?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: beforShowForm &#38; onClose not triggered</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/beforshowform-onclose-not-triggered</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/beforshowform-onclose-not-triggered/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>teddyboy on beforShowForm &#38; onClose not triggered</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/beforshowform-onclose-not-triggered#p12745</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/beforshowform-onclose-not-triggered#p12745</guid>
        	        	<description><![CDATA[<p>Thanks again Tony</p>
]]></description>
        	        	<pubDate>Fri, 04 Dec 2009 11:57:43 +0200</pubDate>
        </item>
        <item>
        	<title>tony on beforShowForm &#38; onClose not triggered</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/beforshowform-onclose-not-triggered#p12739</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/beforshowform-onclose-not-triggered#p12739</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You place the events in wrong place. Set these events as options in the setCoulumns.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 04 Dec 2009 09:02:03 +0200</pubDate>
        </item>
        <item>
        	<title>teddyboy on beforShowForm &#38; onClose not triggered</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/beforshowform-onclose-not-triggered#p12715</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/beforshowform-onclose-not-triggered#p12715</guid>
        	        	<description><![CDATA[<p>Hi Tony</p>
<p>I want to trigger the beforeShowForm &#38; onClose &#160;for a show/hide columns dialog but they are never called the onClickButton is correctly called however (see below).</p>
</p>
<p><span style="font-size: x-small;">tradeGrid.navButtonAdd(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"#tradePager"</span></span><span style="font-size: x-small;">, {caption: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"Show/Hide Columns"</span></span><span style="font-size: x-small;">,</span></p>
</p>
<p>&#160;onClickButton:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">function</span></span><span style="font-size: x-small;">() {</span></p>
<p><span style="font-size: x-small;">&#160;&#160; v</span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">ar</span></span><span style="font-size: x-small;"> options = { dataheight: 100,left: 400, width: 300 };</span></p>
<p>&#160; $(</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"#tradeGrid"</span></span><span style="font-size: x-small;">).setColumns(options);</span></p>
<p><span style="font-size: x-small;">},</span></p>
<p>beforeShowForm:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">function</span></span><span style="font-size: x-small;">() {</span></p>
<p><span style="font-size: x-small;">&#160; <span style="color: #0000ff;"><span style="color: #0000ff;">if</span></span> (<span style="color: #0000ff;"><span style="color: #0000ff;">typeof</span></span> updateTradeGridId != <span style="color: #a31515;"><span style="color: #a31515;">"undefined"</span></span></span><span style="font-size: x-small;"> &#38;&#38; updateTradeGridId != 0) {</span></p>
<p>&#160;&#160; clearInterval(updateTradeGridId);</p>
<p>&#160;&#160; updateTradeGridId = 0;</p>
<p>&#160; }</p>
<p>},</p>
<p>onClose:</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">function</span></span><span style="font-size: x-small;">() {</p>
<p></span></p>
<p>
<span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&#160; if</span></span><span style="font-size: x-small;"> ($(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;#refreshTrades&#39;</span></span><span style="font-size: x-small;">).attr(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;checked&#39;</span></span><span style="font-size: x-small;">)) {</span></p>
<p>&#160;&#160; updateTradeGridId = setInterval(</p>
</p>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">function</span></span><span style="font-size: x-small;">() {</span></p>
<p>&#160;&#160; $(</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"#tradeGrid"</span></span><span style="font-size: x-small;">).setGridParam({ url: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;DataHandler.ashx?grid=trade&#38;action=getTradeData&#38;tsid=&#39;</span></span><span style="font-size: x-small;"> + tsidParam + </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;&#38;instr=&#39;</span></span><span style="font-size: x-small;"> + instrParam + </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;&#38;id_internal=&#39;</span></span><span style="font-size: x-small;"> + instrumentDetails.id_internal + </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;&#38;user=&#39;</span></span><span style="font-size: x-small;"> + userParam + </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;&#38;fromDate=&#39;</span></span><span style="font-size: x-small;"> + thisFromDateStr + </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;&#38;toDate=&#39;</span></span><span style="font-size: x-small;"> + thisToDateStr + </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;&#38;isBroker=&#39;</span></span><span style="font-size: x-small;"> + isBroker + </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;&#38;tradeType=&#39;</span></span><span style="font-size: x-small;"> + tradeDetails.tradeType });</span></p>
<p>$(</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"#tradeGrid"</span></span><span style="font-size: x-small;">).trigger(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"reloadGrid"</span></span><span style="font-size: x-small;">);</span></p>
]]></description>
        	        	<pubDate>Thu, 03 Dec 2009 16:35:08 +0200</pubDate>
        </item>
</channel>
</rss>