<?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: Hide inline del button</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button</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/hide-inline-del-button/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tomaf59 on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27563</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27563</guid>
        	        	<description><![CDATA[<p>nobody ?</p>
]]></description>
        	        	<pubDate>Wed, 17 Oct 2012 17:09:23 +0300</pubDate>
        </item>
        <item>
        	<title>tomaf59 on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27479</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27479</guid>
        	        	<description><![CDATA[<p>Hello tony,</p>
<p>I use 4.3.3 version.</p>
<p>Here&#39;s the code I use:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4516' value='Select Code' data-codeid='sfcode4516' /></p>
<div class='sfcode' id='sfcode4516'>/*GRID*/<br />&#160;&#160; &#160;jQuery(&#34;#flux&#34;).jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;url: &#34;flux/getAll.do&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;mtype: &#39;POST&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#34;json&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;cache: false,<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Identifiant&#39;, &#39;Libell&#233;&#39;, &#39;Code&#39;,&#39;Etat&#39;, &#39;Actions&#39;],<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;colModel:[<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;,&#160;&#160; &#160;key : true,&#160;&#160; &#160;index:&#39;id&#39;,&#160;&#160; &#160;hidden:true},<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;libelle&#39;,index:&#39;libelle&#39;,width:170, editable:true,editrules:{required:true,custom:true, custom_func:checkLibelle}, editoptions: {maxlength:45}},<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;code&#39;, index:&#39;code&#39;,align:&#39;center&#39;, editable:true,editrules:{number:true,required:true}, editoptions: {maxlength:10}},<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;disponibilite&#39;, align:&#39;center&#39;,index:&#39;disponibilite&#39;,sortable:false,editable:false, formatter:loadEtat},<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;myac&#39;, width:80, fixed:true, sortable:false, resize:false, formatter:&#39;actions&#39;, formatoptions:{keys:true}}<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;rowNum:20,<br />&#160;&#160; &#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;sortname: &#39;id&#39;,<br />&#160;&#160; &#160;&#160;&#160;&#160; sortorder: &#34;asc&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;jsonReader: {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repeatitems : false<br />&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160; &#160;&#160;&#160; &#160;height: &#39;auto&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;caption: &#34;Affichage des flux&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;gridComplete: function(){ <br />&#160; &#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var ids = jQuery(&#34;#flux&#34;).jqGrid(&#39;getDataIDs&#39;);<br />&#160; &#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;for(var i=0;i &#60; ids.length;i++){ <br />&#160; &#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var cl = ids[i]; <br />&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var disponibiliteVal = jQuery(&#39;#flux&#39;).getCell(cl, &#39;disponibilite&#39;);<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (disponibiliteVal.indexOf(&#34;production&#34;) &#62; 0){<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; //Hide delete button <br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; jQuery(&#39;tr#&#39;+ids[i]+&#39; td:last div:first div.ui-inline-del&#39;,jQuery(this)).hide();<br />&#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;}<br />&#160; &#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;});</div>
<p>Something&#39;s wrong?</p>
<p>Can you post the code you use?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Thu, 04 Oct 2012 14:50:36 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27406</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27406</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Just tested and it is ok for me.</p>
<p>Not sure what you do and which version do you use.</p>
<p>Which version is used?</p>
</p>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Thu, 27 Sep 2012 15:24:48 +0300</pubDate>
        </item>
        <item>
        	<title>tomaf59 on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27385</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27385</guid>
        	        	<description><![CDATA[<p>nobody ?</p>
]]></description>
        	        	<pubDate>Tue, 25 Sep 2012 17:03:41 +0300</pubDate>
        </item>
        <item>
        	<title>tomaf59 on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27340</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27340</guid>
        	        	<description><![CDATA[<p>I confirm that it doesn&#39;t work.</p>
<p>If I set</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9075' value='Select Code' data-codeid='sfcode9075' /></p>
<div class='sfcode' id='sfcode9075'>formatter:&#39;actions&#39;, formatoptions:{keys:true,delbutton: false}</div>
<p>It will never show the inline-del button even if i set :</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7275' value='Select Code' data-codeid='sfcode7275' /></p>
<div class='sfcode' id='sfcode7275'>gridComplete: function(){ <br />&#160; &#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var ids = jQuery(&#34;#tableLesFlux&#34;).jqGrid(&#39;getDataIDs&#39;);<br />&#160; &#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;for(var i=0;i &#60; ids.length;i++){ <br />&#160; &#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var cl = ids[i]; <br />&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var disponibiliteVal = jQuery(&#39;#tableLesFlux&#39;).getCell(cl, &#39;disponibilite&#39;);<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (disponibiliteVal.indexOf(&#34;production&#34;) &#60; 0){<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; //Show delete button <br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; jQuery(&#39;tr#&#39;+ids[i]+&#39; td:last div:first div.ui-inline-del&#39;,jQuery(this)).show();<br />&#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;}<br />&#160; &#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;}</div>
<p>Someone have an idea?</p></p>
]]></description>
        	        	<pubDate>Mon, 17 Sep 2012 15:32:40 +0300</pubDate>
        </item>
        <item>
        	<title>tomaf59 on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27332</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27332</guid>
        	        	<description><![CDATA[<p>First thank you for your very quick answer.</p>
<p>But in fact, I hava some rows which can have inline del button and some rows not.</p>
<p>I will try to use the predefined formatter maybe I will have to do the inverse that&#39;s mean hide inline del button for eaches rows and just show for the rows I want.</p>
]]></description>
        	        	<pubDate>Fri, 14 Sep 2012 16:00:21 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27324</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27324</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>If you use the predefined formatter you can disable this <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter&#38;s[]=delbutton#column_specific_options" target="_blank">button with options</a></p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Fri, 14 Sep 2012 13:08:16 +0300</pubDate>
        </item>
        <item>
        	<title>tomaf59 on Hide inline del button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27323</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/hide-inline-del-button#p27323</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Hello,</p>
<p>I see a bug with the hide inline del button.</p>
<p>I hide this button like this:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4235' value='Select Code' data-codeid='sfcode4235' /></p>
<div class='sfcode' id='sfcode4235'>gridComplete: function(){ <br />&#160; &#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var ids = $(&#34;#tableLesVersions&#34;).jqGrid(&#39;getDataIDs&#39;);<br />&#160; &#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;for(var i=0;i &#60; ids.length;i++){ <br />&#160; &#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var cl = ids[i]; <br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; jQuery(&#39;tr#&#39;+ids[i]+&#39; td:last div:first div.ui-inline-del&#39;,jQuery(this)).hide();<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160; }</div>
<p>but when I edit a row and then I click on the inline save or in the inline cancel button,&#160; the inline del button reappear.</p>
</p>
<p>Can you have the answer?</p>
]]></description>
        	        	<pubDate>Fri, 14 Sep 2012 12:52:05 +0300</pubDate>
        </item>
</channel>
</rss>