<?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: Multiple row update form</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form</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/feature-request/multiple-row-update-form/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>devesh13 on Multiple row update form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p30072</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p30072</guid>
        	        	<description><![CDATA[<p>Popup is coming up but i can&#39;t see the code to identify the uniqueness of cell values .. after implementing above code all editable cells are coming up to update irrespective of the uniqueness or not .... Please help!!</p>
]]></description>
        	        	<pubDate>Fri, 10 Jan 2014 14:12:52 +0200</pubDate>
        </item>
        <item>
        	<title>devesh13 on Multiple row update form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p30071</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p30071</guid>
        	        	<description><![CDATA[<p>I tried to implement the above code, Once I click on tickbox pop up comes up with "Add record" label with submit and cancel button ....&#160; no editable form field coming with common cell value.. Please suggest</p>
]]></description>
        	        	<pubDate>Fri, 10 Jan 2014 11:24:42 +0200</pubDate>
        </item>
        <item>
        	<title>sici on Multiple row update form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p17857</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p17857</guid>
        	        	<description><![CDATA[<p>there is a demo online ?</p>
<p>please i dont now how to implement this code!</p>
]]></description>
        	        	<pubDate>Thu, 10 Jun 2010 16:48:02 +0300</pubDate>
        </item>
        <item>
        	<title>yajo on Multiple row update form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p11969</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/multiple-row-update-form#p11969</guid>
        	        	<description><![CDATA[<p>Hi, I have implemented one function I think can be useful to some of you.</p>
<p>Let&#39;s say you want to update one cell from several rows with the same value. Now you don&#39;t need to go on editing each row:</p>
<p>[Image Can Not Be Found]</p>
</p>
<p>Works better in Firefox (amazing <img class="spSmiley" style="margin:0" title="Surprised" src="/blog/wp-content/forum-smileys/sf-surprised.gif" alt="Surprised" />). The code (var grid is the jqGrid object, with pager):</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1000' value='Select Code' data-codeid='sfcode1000' /></p>
<div class='sfcode' id='sfcode1000'>grid.jqGrid(&#39;navButtonAdd&#39;, &#39;pager_&#39; + grid_container.attr(&#39;id&#39;),{<br />&#160;&#160;&#160; buttonicon: &#39;ui-icon-check&#39;,<br />&#160;&#160;&#160; title: &#39;Editar los registros marcados&#39;,<br />&#160;&#160;&#160; caption: &#39;&#39;,<br />&#160;&#160;&#160; onClickButton: function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; var sel = grid.jqGrid(&#39;getGridParam&#39;, &#39;selarrrow&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; if (sel.length){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; grid.jqGrid(&#39;editGridRow&#39;, &#39;new&#39;, {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; beforeShowForm: function(form){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; form.find(&#39;:input&#39;).attr(&#39;disabled&#39;, true).addClass(&#39;ui-state-disabled&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; form.find(&#39;tr.FormData&#39;).each(function(index, domEle){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#39;&#60;td class="CaptionTD ui-widget-content"&#62;&#60;input type="checkbox" name="&#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; + jQuery(domEle).attr(&#39;id&#39;).replace(/^tr_/, &#39;modificar_&#39;)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; + &#39;"/&#62; Modificar&#60;/td&#62;&#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ).appendTo(domEle).find(&#39;input&#39;).bind(&#39;change&#39;, function(event){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(event.target).closest(&#39;tr&#39;).find(&#39;td.DataTD :input&#39;).attr(&#39;disabled&#39;, !jQuery(event.target).attr(&#39;checked&#39;)).toggleClass(&#39;ui-state-disabled&#39;);<br />&#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; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; form.closest(&#39;div[id^=editmodgrid_]&#39;).find(&#39;span.ui-jqdialog-title&#39;).text(&#39;Modificar registros seleccionados&#39;);<br />&#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; onClose: function(formId){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(formId).remove();<br />&#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; serializeEditData: function(data){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; data.oper = &#39;multiEdit&#39;;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; data.id = String(grid.jqGrid(&#39;getGridParam&#39;, &#39;selarrrow&#39;));<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return data;<br />&#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; beforeCheckValues: function(data, form, mode){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; delete data.id;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; for (var v in data){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (form.find(&#39;td.DataTD :input[id=&#39; + v + &#39;]&#39;).attr(&#39;disabled&#39;)) delete data[v];<br />&#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; },<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; afterSubmit:afterSubmitFn,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; closeAfterEdit:true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; closeAfterAdd:true<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; } else {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; alert(&#39;Debes seleccionar al menos un registro&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; position: &#39;first&#39;<br />});</div>
<p>I think it can be useful to add it to the standard jqGrid, but since then, you have it here <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p></p>
]]></description>
        	        	<pubDate>Mon, 16 Nov 2009 03:12:13 +0200</pubDate>
        </item>
</channel>
</rss>