<?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: inlineNav &#38; inlineNavparameters : no delicon possible</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/inlinenav-inlinenavparameters-no-delicon-possible</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/inlinenav-inlinenavparameters-no-delicon-possible/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>weird_sci on inlineNav &#38; inlineNavparameters : no delicon possible</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/inlinenav-inlinenavparameters-no-delicon-possible#p29438</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/inlinenav-inlinenavparameters-no-delicon-possible#p29438</guid>
        	        	<description><![CDATA[<p>Hi guys,</p>
<p>I have an urgent question/bugreport for the inlineNav and the inlineNavparameters.</p>
<p>We have the possibility to define the visibility of the add/edit/cancel/save button, but I can&#39;t get the delete button to show when using client-sided inlineNav.</p>
<p>Code below. Is this by design?<img class="spSmiley" style="margin:0" title="Frown" src="/blog/wp-content/forum-smileys/sf-frown.gif" alt="Frown" /><img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
</p>
<p>&#160;&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4935' value='Select Code' data-codeid='sfcode4935' /></p>
<div class='sfcode' id='sfcode4935'>&#160;var editInlineNav = <br />&#160;&#160; &#160;{&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;useFormatter: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;aftersavefunc: function (response) {&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var dataIDS = gridGoods.getDataIDs();<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuerynoConflict(&#34;#txtlistGoods&#34;).val(dataIDS.length);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;CalcUnit();<br />&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;};&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;inlineNavparameters = { <br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;add: &#60;?=(($_GET[&#39;ordreStatus&#39;] == &#39;C&#39; &#124;&#124; $_GET[&#39;ordreStatus&#39;] == &#39;T&#39;) ? &#34;false&#34;: &#34;true&#34;)?&#62;,<br />&#160;&#160; &#160;&#160;&#160; &#160;addicon:&#34;ui-icon-plus&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;edit: &#60;?=(($_GET[&#39;ordreStatus&#39;] == &#39;C&#39; &#124;&#124; $_GET[&#39;ordreStatus&#39;] == &#39;T&#39;) ? &#34;false&#34;: &#34;true&#34;)?&#62;,<br />&#160;&#160; &#160;&#160;&#160; &#160;editicon: &#34;ui-icon-pencil&#34;,&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;del: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;// delicon:&#34;ui-icon-plus&#34;,&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;save: &#60;?=(($_GET[&#39;ordreStatus&#39;] == &#39;C&#39; &#124;&#124; $_GET[&#39;ordreStatus&#39;] == &#39;T&#39;) ? &#34;false&#34;: &#34;true&#34;)?&#62;,<br />&#160;&#160; &#160;&#160;&#160; &#160;saveicon:&#34;ui-icon-disk&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;cancel: &#60;?=(($_GET[&#39;ordreStatus&#39;] == &#39;C&#39; &#124;&#124; $_GET[&#39;ordreStatus&#39;] == &#39;T&#39;) ? &#34;false&#34;: &#34;true&#34;)?&#62;,<br />&#160;&#160; &#160;&#160;&#160; &#160;cancelicon:&#34;ui-icon-cancel&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;addParams : <br />&#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;rowID : function(){<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var dataIDS = gridGoods.getDataIDs();<br />&#160;&#160; &#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;if(dataIDS.length == 0)<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;nextNumber = 1;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;else<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;nextNumber = parseInt(dataIDS[dataIDS.length-1]) + 1;&#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;return nextNumber;<br />&#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;keys: true,<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;position :&#34;last&#34;,<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;useFormatter: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; addRowParams : editInlineNav&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; },<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;editParams : editInlineNav<br />&#160;&#160; &#160;}&#160;&#160; &#160;<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;gridGoods.jqGrid(&#39;navGrid&#39;,&#39;#listGoodsPager&#39;,{add:false, edit:false,view:false, del:false, search:false, refresh:false});&#160;&#160; &#160;<br />&#160;&#160; &#160;gridGoods.jqGrid(&#39;inlineNav&#39;, &#39;#listGoodsPager&#39;, inlineNavparameters);</div>
]]></description>
        	        	<pubDate>Wed, 04 Sep 2013 13:40:44 +0300</pubDate>
        </item>
</channel>
</rss>