<?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: multiselect with rowedit</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit</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/multiselect-with-rowedit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on multiselect with rowedit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6706</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6706</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Currently inline edit does not work with multiselect:true</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 15 May 2009 02:40:36 +0300</pubDate>
        </item>
        <item>
        	<title>AKS on multiselect with rowedit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6638</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6638</guid>
        	        	<description><![CDATA[<p>i am using jqGrid 3.4.3</p></p>
]]></description>
        	        	<pubDate>Wed, 13 May 2009 03:49:13 +0300</pubDate>
        </item>
        <item>
        	<title>AKS on multiselect with rowedit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6637</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6637</guid>
        	        	<description><![CDATA[<p>i have the same problem.</p>
<p>when "multiselect : false" the following code works fine.</p>
<p>var row = grid.getGridParam(&#39;selrow&#39;);<br />&#160;&#160;&#160; if( row &#38;&#38; row &#62;= 0 ){<br />&#160;&#160;&#160; &#160;&#160;&#160; if (lastsel &#38;&#38; lastsel != -1) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; grid.restoreRow(lastsel,false, &#39;clientArray&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; lastsel=row;<br />&#160;&#160;&#160; &#160;&#160;&#160; grid.editRow(row,false,pickdates);<br />&#160;&#160;&#160; } else {<br />&#160;&#160;&#160; &#160;&#160;&#160; alert("Please Select Row to inlineedit!");<br />&#160;&#160;&#160; }</p>
<p>but when  "multiselect : true" nothing happens. the firefox plugin "firebug" do not show any error.</p>
</p>
<p>regards</p>
<p>arne</p>
]]></description>
        	        	<pubDate>Wed, 13 May 2009 03:47:47 +0300</pubDate>
        </item>
        <item>
        	<title>tony on multiselect with rowedit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6069</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6069</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Do not have time to test, but I do not like this piece of code:</p>
<p>&#160;&#160;&#160;&#160; for(var i=0; i &#60; s.length; i++)<br />&#160;&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;if(s[i] &#38;&#38; s[i]!==lastsel){<br />&#160;&#160;&#160;&#160;&#160;&#160;jQuery(&#39;#list&#39;).restoreRow(lastsel);&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;lastsel=s[i];<br />&#160;&#160;&#160;&#160;&#160;&#160;}&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;jQuery(&#39;#list&#39;).editRow(s[i],true);<br />&#160;&#160;&#160;&#160;&#160;}</p>
<p>Check this again.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 16 Apr 2009 02:57:18 +0300</pubDate>
        </item>
        <item>
        	<title>Prathap MK on multiselect with rowedit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6037</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p6037</guid>
        	        	<description><![CDATA[<p>when am adding multiselect with rowedit ,row edit is not working.</p>
<p>my code is as follows</p>
<p>&#60;script type="text/javascript"&#62;</p>
<p>var myGrid;</p>
<p>jQuery(document).ready(function(){ <br />&#160;&#160;<br />&#160;&#160;var lastsel;<br />&#160;&#160;<br />&#160;&#160;jQuery("#list").jqGrid({ <br />&#160;&#160;<br />&#160;&#160;&#160;&#160;<a href="/blog/&#39;example.asp?q=1&#39;" target="_blank">url:&#39;example.asp?q=1&#39;</a>, <br />&#160;&#160;&#160;&#160;datatype: &#39;xml&#39;, <br />&#160;&#160;&#160;&#160;mtype: &#39;GET&#39;, <br />&#160;&#160;&#160;&#160;subGrid:true,<br />&#160;&#160;&#160;&#160;height:212,<br />&#160;&#160;&#160;&#160;colNames:[&#39;act&#39;,&#39;Sup Id&#39;,&#39;Name&#39;,&#39;ContactName&#39;,&#39;City&#39;, &#39;Country&#39;], &#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;colModel :[ <br />&#160;&#160;&#160;&#160;&#160;{name:&#39;act&#39;, index:&#39;act&#39;, width:65, search:false}, <br />&#160;&#160;&#160;&#160;&#160;{name:&#39;SupplierID&#39;, index:&#39;SupplierID&#39;, width:65, sorttype:&#39;int&#39;}, <br />&#160;&#160;&#160;&#160;&#160;{name:&#39;CompanyName&#39;, index:&#39;CompanyName&#39;, width:250, editable: true, editoptions:{size:"20",maxlength:"30"}, sorttype:&#39;int&#39;},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;ContactName&#39;, index:&#39;ContactName&#39;, width:100, align:&#39;right&#39;}, <br />&#160;&#160;&#160;&#160;&#160;{name:&#39;City&#39;, index:&#39;City&#39;, width:100, editable: true, edittype: "select", editoptions: {value: getValue() }},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;Country&#39;, index:&#39;Country&#39;, hidden: true, editable: true, editoptions:{size:"20",maxlength:"30"}, editrules:{edithidden:true, required:true}} &#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;], <br />&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;pager: jQuery(&#39;#pager&#39;), <br />&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;rowheight:&#39;100%&#39;,<br />&#160;&#160;&#160;&#160;rowNum:5, <br />&#160;&#160;&#160;&#160;rowList:[10,20,30], <br />&#160;&#160;&#160;&#160;sortname: &#39;CompanyName&#39;, <br />&#160;&#160;&#160;&#160;sortorder: "desc", <br />&#160;&#160;&#160;&#160;viewrecords: true, <br />&#160;&#160;&#160;&#160;multiselect:true,<br />&#160;&#160;&#160;&#160;cellEdit:true,<br />&#160;&#160;&#160;&#160;subGrid: true,<br />&#160;&#160;&#160;&#160;subGridUrl : "example11.asp", <br />&#160;&#160;&#160;&#160;subGridModel :[ { name: [&#39;act&#39;, &#39;Sup&#39;, &#39;Name&#39;, &#39;ContactName&#39;, &#39;City&#39;,&#39;Country&#39;],<br />&#160;&#160;&#160;&#160;width : [100, 100, 100,100, 100,100], params: [&#39;SupplierID&#39;] } ],<br />&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;onSelectRow: function(id){&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;var s; <br />&#160;&#160;&#160;&#160;&#160;s = jQuery("#list").getGridParam(&#39;selarrrow&#39;);<br />&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;for(var i=0; i &#60; s.length; i++)<br />&#160;&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;if(s[i] &#38;&#38; s[i]!==lastsel){<br />&#160;&#160;&#160;&#160;&#160;&#160;jQuery(&#39;#list&#39;).restoreRow(lastsel);&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;lastsel=s[i];<br />&#160;&#160;&#160;&#160;&#160;&#160;}&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;jQuery(&#39;#list&#39;).editRow(s[i],true);<br />&#160;&#160;&#160;&#160;&#160;}&#160;<br />&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;},&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;loadComplete: function(){<br />&#160;&#160;&#160;&#160;&#160;var ids = jQuery("#list").getDataIDs();&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;for(var i=0;i&#60;ids.length;i++){<br />&#160;&#160;&#160;&#160;&#160;&#160;var cl = ids[i];<br />&#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+"); &#62;"; <br />&#160;&#160;&#160;&#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;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;&#160;&#160;&#160;de = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;D&#39; onclick=jQuery(&#39;#list&#39;).delGridRow("+cl+"); /&#62;"; <br />&#160;&#160;&#160;&#160;&#160;&#160;jQuery("#list").setRowData(ids[i],{act:be+se+ce+de})<br />&#160;&#160;&#160;&#160;&#160;}&#160;<br />&#160;&#160;&#160;&#160;},&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;imgpath: &#39;themes/coffee/images&#39;, <br />&#160;&#160;&#160;&#160;caption: &#39;SUPPLIER TABLE&#39; <br />&#160;&#160;&#160;&#160;<br />&#160;&#160;}).navGrid(&#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;{}, //options<br />&#160;&#160;&#160;&#160;{height:380, width: 500, reloadAfterSubmit:true}, // edit options<br />&#160;&#160;&#160;&#160;{height:280,reloadAfterSubmit:true}, // add options<br />&#160;&#160;&#160;&#160;{height:180, width: 300, reloadAfterSubmit:true}, // del options<br />&#160;&#160;&#160;&#160;{} // search options<br />&#160;&#160;&#160;);&#160;&#160;<br />&#160;&#160;<br />&#160;&#160;//jQuery("#t_s1list").height(25).hide().filterGrid("#list",{gridModel:true,gridToolbar:true});<br />&#160;&#160;&#160;<br />&#160;&#160;jQuery.jgrid.del = { <br />&#160;&#160;top:100,left:700,<br />&#160;&#160;&#160;url: &#39;delete.asp&#39;,<br />&#160;&#160;&#160;caption: "MKP Delete", <br />&#160;&#160;&#160;msg: "Delete selected record(sss)?", <br />&#160;&#160;&#160;bSubmit: "Delete Rec", <br />&#160;&#160;&#160;bCancel: "Cancel", <br />&#160;&#160;&#160;processData: "Processing..."<br />&#160;&#160;&#160;//afterSubmit: function(msg){alert("asdasd"); return true;}&#160;<br />&#160;&#160;};</p>
<p>&#160;&#160;jQuery.jgrid.edit = { <br />&#160;&#160;&#160;url: &#39;edit.asp&#39;,<br />&#160;&#160;&#160;editCaption: "Edit Record",<br />&#160;&#160;&#160;addCaption: "Add Record",<br />&#160;&#160;&#160;msg: "Edit selected record(s)?", <br />&#160;&#160;&#160;bSubmit: "Save", <br />&#160;&#160;&#160;bCancel: "Cancel",<br />&#160;&#160;&#160;postData:[{Country:&#39;India&#39;}],&#160;&#160;&#160;<br />&#160;&#160;&#160;processData: "Processing..."<br />&#160;&#160;&#160;//afterSubmit: function(msg){alert("asdasd"); return true;}&#160;<br />&#160;&#160;};<br />&#160;&#160;jQuery("#list").sortGrid("CompanyName",true);</p>
<p>});</p>
<p>function checksave(result) {<br />&#160;if (result=="") {alert("Update is missing!"); return false;}<br />&#160;return true;<br />}</p>
<p>function getValue(){<br />&#160;var html1 = $.ajax({<br />&#160;&#160;url: "select.asp",<br />&#160;&#160;async: false<br />&#160;}).responseText;<br />&#160;<br />&#160;return html1;<br />}</p>
]]></description>
        	        	<pubDate>Wed, 15 Apr 2009 01:01:45 +0300</pubDate>
        </item>
        <item>
        	<title>tony on multiselect with rowedit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p5996</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p5996</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What actually does not work? Which version do you use? In order to resolve the problem&#160; a min requirment is to post your code.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 14 Apr 2009 02:16:41 +0300</pubDate>
        </item>
        <item>
        	<title>Prathap MK on multiselect with rowedit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p5931</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-with-rowedit#p5931</guid>
        	        	<description><![CDATA[<p>hi ....</p>
<p>in my grid am using row edit and multiselect..without multiselect rowedit works very well but when i add multiselect true its not working</p></p>
]]></description>
        	        	<pubDate>Thu, 09 Apr 2009 00:21:14 +0300</pubDate>
        </item>
</channel>
</rss>