<?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: Unable to raise function before addRow with 'inlineNav'</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-raise-function-before-addrow-with-inlinenav</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/unable-to-raise-function-before-addrow-with-inlinenav/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Doraneko on Unable to raise function before addRow with 'inlineNav'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-raise-function-before-addrow-with-inlinenav#p25550</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-raise-function-before-addrow-with-inlinenav#p25550</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I would like to do function before addRow with &#39;inlineNav&#39;, in concrete, I would like to hide filterToolbar.</p>
<p>If filterToolbar works during adding Row inline, the inline form collapse and never recover addRow or editRow button from disabled state on navbar. That why I need to hide filterToolbar before starting addRow.</p>
<p>But oneditfunc event can&#39;t be raised from addRow at the first time. ( from second time and more, the event is raised properly.)</p>
<p>Are there any measure to define the function before executing addRow with inlineNav ?</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4966' value='Select Code' data-codeid='sfcode4966' /></p>
<div class='sfcode' id='sfcode4966'>
<p>jQuery(function($){</p>
<p><span style=&#34;white-space:pre&#34;> </span>$(&#34;#jqGrid&#34;).jqGrid(grid_param);</p>
<p><span style=&#34;white-space:pre&#34;> </span>$(&#34;#jqGrid&#34;).jqGrid(&#39;filterToolbar&#39;, {stringResult:false, searchOnEnter:false};</p>
<p>&#160;$(&#34;#jqGrid&#34;).jqGrid(&#34;navGrid&#34;, &#34;#pager&#34;, {edit:false, add:false, del:false, search:false});</p>
<p>&#160;$(&#34;#jqGrid&#34;).jqGrid(&#34;inlineNav&#34;, &#34;#pager&#34;, { editParams{</p>
<p><span style=&#34;white-space: pre;&#34;> </span>oneditfunc:function(){<span style=&#34;white-space: pre;&#34;> </span>alert(&#34;can&#39;t call this with addRow at the first time!!&#34;);</p>
<p><span style=&#34;white-space: pre;&#34;> </span>$(&#34;#jqGrid&#34;)[0].toggleToolbar();</p>
<p><span style=&#34;white-space: pre;&#34;> </span>}</p>
<p>&#160;});</p>
<p>});</p>
</div>
<p>Thanks for the help...</p>
]]></description>
        	        	<pubDate>Fri, 30 Dec 2011 08:00:42 +0200</pubDate>
        </item>
</channel>
</rss>