<?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 can i call a javascript function?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-call-a-javascript-function</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-can-i-call-a-javascript-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on How can i call a javascript function?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-call-a-javascript-function#p14149</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-call-a-javascript-function#p14149</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>First you cam look here:</p>
<p><a href="http://www.trirand.com/blog/?page_id=393/feature-request/row-select-cell-selecting" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....-selecting</a></p>
<p>Also could you please go here and see all the available grid events.</p>
<p>Especially take a look at onCellSelect</p>
<p>I&#39;m interested to see what viewdb(id) function do;</p>
<p>Take a look at demo there is a such example.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 22 Jan 2010 12:59:39 +0200</pubDate>
        </item>
        <item>
        	<title>kikz4life on How can i call a javascript function?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-can-i-call-a-javascript-function#p14045</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-can-i-call-a-javascript-function#p14045</guid>
        	        	<description><![CDATA[<p>hi there,</p>
</p>
<p>i have a javascript function, this function were used in my latter grid (flexgrid) and to call it i used the property <strong>process: viewHeader</strong>. This is like a master-detail relationship, by doing this i can hide my flexgrid then display my details.</p>
<p>my js script:</p>
<p><em>function viewHeader(celDiv,id)<br />{<br />&#160;&#160;&#160; $(celDiv).addClass("pointer");<br />&#160;&#160;&#160; $(celDiv).click(function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; $(&#39;.toolbar a[title=Header]&#39;).trigger(&#39;click&#39;);&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; viewdb(id);&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; });<br />} </em></p>
</p>
<p>now what i did in jqgrid was this:</p>
<p><em>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; onSelectRow: function (id)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#39;.toolbar a[title=Header]&#39;).trigger(&#39;click&#39;);&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; viewdb(id);&#160;&#160;&#160; &#160;</em></p>
<p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</em></p>
<p>with this almost same functionality but the details wont show. No data is being displayed in my detail jqgrid. Also in celDiv what value can i replace with this in jqgrid? I tried replacing it with cellvalue but wont work.</p>
<p>Hope anyone can help me with this.</p>
</p>
<p>Cheers,</p>
<p>Dean</p>
]]></description>
        	        	<pubDate>Tue, 19 Jan 2010 12:13:09 +0200</pubDate>
        </item>
</channel>
</rss>