<?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: bug with multiselect &#38; row editing</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/bug-with-multiselect-row-editing</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/bug-with-multiselect-row-editing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on bug with multiselect &#38; row editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/bug-with-multiselect-row-editing#p7919</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/bug-with-multiselect-row-editing#p7919</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Use the latest 3.5 version. This is not a bug, but feature <img class="spSmiley" style="margin:0" title="Wink" src="http://www.trirand.com/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" />. This is enabled in the latest build.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 20 Jul 2009 11:25:47 +0300</pubDate>
        </item>
        <item>
        	<title>eliaweiss on bug with multiselect &#38; row editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/bug-with-multiselect-row-editing#p7887</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/bug-with-multiselect-row-editing#p7887</guid>
        	        	<description><![CDATA[<p>I&#39;ve implemented a grid with row editing but when is set multiselect &#39;true&#39;</p>
<p>row editing stop functioning...</p>
<p>i used the examples in <a href="http://trirand.com/jqgrid/jqgrid.html" target="_blank">http://trirand.com/jqgrid/jqgrid.html</a></p>
<p>1. Row Editing: Cutom Editing</p>
<p>2. Advanced: Multi Select.</p>
</p>
<p>here is the jqGrid call i use:</p>
<p>&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160; <a href="&#39;getDataFromDb2Xml.php&#39;" target="_blank">url:&#39;getDataFromDb2Xml.php&#39;</a>,<br />&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160; colNames:[&#39;id&#39;,&#39;num&#39;, &#39;txt&#39;, &#39;act&#39;],<br />&#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;id&#39;, index:&#39;id&#39;, width:55, editable:true},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;num&#39;, index:&#39;num&#39;, width:90, editable:true},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;txt&#39;, index:&#39;txt&#39;, width:150, sortable:false, editable:true},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;act&#39;, index:&#39;act&#39;, width:75,sortable:false}<br />&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160; rowList:[10,20,30],<br />&#160;&#160;&#160; sortname: &#39;id&#39;,<br />&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; imgpath: &#39;themes/basic/images&#39;,<br />&#160;&#160;&#160; loadComplete: function(){<br />&#160;&#160;var ids = jQuery("#list").getDataIDs();<br />&#160;&#160;for(var i=0;i&#60;ids.length;i++){<br />&#160;&#160;&#160;var cl = ids[i];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; be = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;E&#39; onclick=jQuery(&#39;#list&#39;).editRow("+cl+",true); &#62;";<br />&#160;&#160;&#160;se = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;S&#39; onclick=jQuery(&#39;#list&#39;).saveRow("+cl+"); &#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ce = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;C&#39; onclick=jQuery(&#39;#list&#39;).restoreRow("+cl+"); /&#62;";<br />&#160;&#160;&#160;jQuery("#list").setRowData(ids[i],{act:be+se+ce});<br />&#160;&#160;}<br />&#160;},<br />&#160;&#160;&#160; editurl: "saverow.php",<br />&#160;&#160;&#160; multiselect: true, //true, false,// elia: true value causes the editRow not to work, probably a bug in jqGrid...<br />&#160;&#160;&#160; subGrid : true,<br />&#160;&#160;&#160; subGridUrl: &#39;subgrid.php&#39;,<br />&#160;&#160;&#160; subGridModel: [{ name&#160; : [&#39;Num&#39;,&#39;txt&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width : [200,200] }],<br />&#160;&#160;&#160; height: "auto",// note: elia, using &#39;100%&#39; (like in the example) doesn&#39;t dispaly the pager<br />&#160;&#160;&#160; caption: &#39;My first grid&#39;<br />&#160; });</p>
</p>
<p>Thanks for the great package 🙂</p>
<p>Elia</p>
]]></description>
        	        	<pubDate>Sat, 18 Jul 2009 09:58:47 +0300</pubDate>
        </item>
</channel>
</rss>