<?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: Post dynamically additional data to the editurl</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl</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/post-dynamically-additional-data-to-the-editurl/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Shimon on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2136</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2136</guid>
        	        	<description><![CDATA[<p>Thank you Tony, it works and the bonus is the tree grid. I can see now the line with the if (typeof onclickSubmit...</p>
]]></description>
        	        	<pubDate>Fri, 19 Sep 2008 10:17:33 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2132</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2132</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>you should download the latest version for</p>
<p>Download section here (3.2.4)</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 19 Sep 2008 07:20:24 +0300</pubDate>
        </item>
        <item>
        	<title>Shimon on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2129</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2129</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I found the method delGridRow in grid.formedit.js but there is no if( typeofp.onclickSubmit === &#39;function&#39;) in it. Yes, there is beforeSubmit and afterSubmit but no onclickSubmit... I guess I should download again. I can&#39;t see any version identifier in the file to send you. Should I mail you the file?</p>
<p>I thank you and appreciate your involvement,</p>
<p>Shimon</p>
]]></description>
        	        	<pubDate>Fri, 19 Sep 2008 06:18:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2122</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2122</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Really very strange. To test find delGridRow method, then find</p>
<p>if( typeof p.onclickSubmit === &#39;function&#39; )</p>
<p>p.delData = p.onclickSubmit(p) &#124;&#124; {};</p>
<p>after this make</p>
<p>alert(p.delData.wmemno) ;</p>
<p>After this find</p>
<p>var postd = $.extend({oper:"del", id:postdata},p.delData);</p>
<p>and then make the same</p>
<p>alert(postd.wmemno)</p>
<p>See the results.</p>
<p>I will try to test this again.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 19 Sep 2008 00:56:00 +0300</pubDate>
        </item>
        <item>
        	<title>Renso on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2115</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2115</guid>
        	        	<description><![CDATA[<p>Shimon, right on! Thanks for gettnig back to us.</p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 16:25:44 +0300</pubDate>
        </item>
        <item>
        	<title>Shimon on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2111</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2111</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>The MemNo is a global variable to the page and if my onclickSubmit was invoked then the return {wmemno: MemNo} would have worked. The MemNo is not a field in the row. If I can get onclickSubmit to work I should hope that the returned value is added to the posted data.</p>
<p>Could you give me a hint to look for why my onclickSubmit is not invoked?</p>
<p>Renso: MemNo is a global variable and I have it through the page but it is the ajax invoked url that needs it as an input. However your suggestion made me see that I can add it to the editurl and every time it changes I should setGridParam({editurl: &#39;myjsp.jsp?wmemno=&#39;+MemNo}) and it works</p>
<p>Thank you Tony and Renso. I still think that the onclickSubmit is a nicer looking solution if I can make it to work.</p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 14:12:04 +0300</pubDate>
        </item>
        <item>
        	<title>Renso on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2108</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2108</guid>
        	        	<description><![CDATA[<p>Shimon I had a similar issue, however and I am not sure if this solves your problem, if the membership number is embedded in the HTML somewhere can you not just get it via a jQuery selector?</p>
</p>
<p><span style="color: #3366ff;"><strong>/Membership/Delete?memNo=&#39;+$(currentRow &#39;+ input#memNo&#39;).val()</strong></span></p>
<p>meaning <strong>currentRow </strong>could be set up to look for the current row&#39;s key (of course if button on each row other wise if check box with delete button at bottom of page will change selector slightly):</p>
<p>currentRow = $(this).parent().parent (as button in td in tr)</p>
<p>Let me know if this helps.</p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 13:15:06 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2107</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2107</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>maybe this will help. (for delete)</p>
<p>onclickSubmit: function(params){</p>
<p>var gsr = $("#grid_id").getGridParam(&#39;selrow&#39;);</p>
<p>var sdata = $("#grid_id").getRowData(gsr);</p>
<p>return {wmemno: sdata.MemNo}</p>
<p>}</p>
<p>In my project this work&#160; whitout problems.</p>
<p>Best Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 13:06:56 +0300</pubDate>
        </item>
        <item>
        	<title>Shimon on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2106</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2106</guid>
        	        	<description><![CDATA[<p>My grid displays all records of one membership, the table has records of multiple memberships. Each row is one record with an id assigned within the same membership number. The row_id is unique to the grid but not to the table. In the table in order to delete a row I need the membership number plus the row_id. For edit and add the grid is passing all the values of the row in the posted data, for delete it passes only the row_id and the action {oper: "del"}. Therefore, in edit and add I attach an additional property to the row and thus the jsp receives the membership number, in delete attaching a membership number as an additional property does not make it available to the jsp since the row is not passed as posted data. I thought that the delData property of the grid would accomplish this but I tried both static in the construction of the grid and dynamic in the beforeSubmit with no success.</p>
<p>If onclickSubmit is not called, in my case, and then if I use the beforeSubmit to set the delData with {wmemno: MemNo} and it is not posted to the editurl then how can I post the data for delete? I could have added it to the url as Get data but it would be static and once the membership number is changed it would stick to the first one set.</p>
<p>The only other way I can think of is: in the beforeSubmit, call (ajax or similar) the editurl jsp direclty with the row_id and membership number posted to it.</p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 12:55:55 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2101</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2101</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What values are posted when you use delete?</p>
<p>It is very strange, since the approach is the same as those in edit.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 10:24:18 +0300</pubDate>
        </item>
        <item>
        	<title>Shimon on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2091</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p2091</guid>
        	        	<description><![CDATA[<p>I have added the alert to all three (edit, add, delete) onclickSubmit and none shows up. How is it that my event function is not executed?</p>
<p>&#160;&#160;&#160;&#160;&#160; }).navGrid(&#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {search:false}, //options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:200,reloadAfterSubmit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onclickSubmit: function(params) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; alert("wmemno="+MemNo);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return {wmemno:MemNo};&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, //edit options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onclickSubmit: function(params) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; alert("wmemno="+MemNo);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return {wmemno:MemNo};&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, //add options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {reloadAfterSubmit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onclickSubmit: function(params) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; alert("wmemno="+MemNo);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return {wmemno:MemNo};&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, //del options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {} //search options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ); <br />&#160; }</p>
<p>(Sorry for the timelag, I have cleaned up the development around the grid and now I am back to it).</p>
<p>The beforeSubmit is functional and by appending a new property to the row I get the value in the jsp to process and it is a valid approach however, the Delete is not working like this since it does not pass the row, just the row_id. I tried to set the delData with no success.</p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 08:29:41 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1494</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1494</guid>
        	        	<description><![CDATA[<p>To resolve this make alert for the variable before the return in the event</p>
]]></description>
        	        	<pubDate>Thu, 14 Aug 2008 03:14:41 +0300</pubDate>
        </item>
        <item>
        	<title>Shimon on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1486</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1486</guid>
        	        	<description><![CDATA[<p>Thank you Tony,</p>
<p>I have tried the onclickSubmit before and the value received in wmemno was null, I tried it again now and still the value passed is null. There is a value in MemNo.</p>
]]></description>
        	        	<pubDate>Wed, 13 Aug 2008 06:40:29 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1478</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1478</guid>
        	        	<description><![CDATA[<p>Refer to documentation how to use delData.</p>
<p>You should use onclickSubmit event for this - something like</p>
<p>// for delete options</p>
<p>onclickSubmit : function(params}</p>
<p>return {wmemno:MemNo}</p>
<p>}</p>
]]></description>
        	        	<pubDate>Wed, 13 Aug 2008 05:09:44 +0300</pubDate>
        </item>
        <item>
        	<title>Shimon on Post dynamically additional data to the editurl</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1468</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/post-dynamically-additional-data-to-the-editurl#p1468</guid>
        	        	<description><![CDATA[<p>(Newbee&#8230; appologies)</p>
<p>I need a qualifier that is changed by the user for all loads, reloads, edit, add, and delete of the grid. I have set up a var MemNo globally and used sccessfully in load, reload, edit and add: specified as postData:{wmemno:MemNo} in load, reload apears to pick it up dynamically and correctly, beforeSubmit function(row){row.wmemno=MemNo;} on the navGrid edit options (works on add as well without specifying it specifically for add), and tried to do the same for delete and it is not working.</p>
<p>I have tried editData in the navigator options&#8230; did not seem to respond, and delData in the delete options&#8230; did not respond. I realized that the input to beforeSubmit on edit and add are an object to which I have added my property but for delete it is just the row id and not an object.</p>
<p>I attach the load function and ask: <strong>how do I pass the MemNo dynamically to the editurl so that I can qualify the delete sql statement by this number in addition to the row id?</strong></p>
<p>Many Thanks for any help!!</p>
<p>&#160; function loadSpGrid() {<br />&#160;&#160;&#160;&#160;&#160; jQuery(&#8221;#spgrid&#8221;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url:&#39;s007.jsp&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; postData: {wmemno:MemNo},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl:&#39;s008.jsp&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Start&#39;,&#39;End&#39;,&#39;Service&#39;,&#39;Earnings&#39;,&#39;Eligible&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;sdate&#39;,index:&#39;start_date&#39;,width:80,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{required:true}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;edate&#39;,index:&#39;end_date&#39;,width:80,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{required:true}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;service&#39;,index:&#39;service&#39;,width:60,align:&#39;right&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{required:true,number:true}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;earnings&#39;,index:&#39;earnings&#39;,width:80, align:&#39;right&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{required:true,number:true}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;eservice&#39;,index:&#39;eligible_service&#39;,width:70,align:&#39;right&#39;,sortable:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{required:true,number:true}} ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[10,20,30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; height:210,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;start_date&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#8220;asc&#8221;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;js/themes/sand/images&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;Financial data&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; subGrid: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; subGridRowExpanded: function(subgrid_id, row_id) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var subgrid_table_id = subgrid_id + &#8220;_t&#8221;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var pager_id = &#8220;p_&#8221; + subgrid_table_id;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#8221;#&#8221;+subgrid_id).html(&#8221;&#60;table id=&#39;&#8221;+subgrid_table_id+&#8221;&#39; class=&#39;scroll&#39;&#62;&#60;/table&#62;&#60;div id=&#39;&#8221;+pager_id+&#8221;&#39; class=&#39;scroll&#39;&#62;&#60;/div&#62;&#8221;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#8221;#&#8221;+subgrid_table_id).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url:&#8221;s010.jsp?q=2&#38;id=&#8221;+row_id+&#8221;&#38;wmemno=&#8221;+MemNo,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl:&#8221;s011.jsp?wmemno=&#8221;+MemNo+&#8221;&#38;wspno=&#8221;+row_id,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#8220;json&#8221;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Plan&#39;,&#39;Member contr.&#39;,&#39;Employer contr.&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"plan",index:"1",width:40,key:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{required:true}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"memcon",index:"2",width:100,align:"right",sortable:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{required:true,number:true}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"empcon",index:"3",width:110,align:"right",sortable:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable:true,editrules:{number:true}} <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: pager_id,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: &#39;100%&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;js/themes/sand/images&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;1&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#8220;asc&#8221;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }).navGrid(&#8221;#&#8221;+pager_id,{search:false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:200,reloadAfterSubmit:false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:200}, //add options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {reloadAfterSubmit:false}, //del options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {} //search options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; );<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160; }).navGrid(&#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {search:false}, //options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:200,reloadAfterSubmit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; beforeSubmit:function(row){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; row.wmemno = MemNo;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return true;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } //works on add as well but not delete.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, //edit options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:200}, //add options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {reloadAfterSubmit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; beforeSubmit:function(row){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#8221;#spgrid&#8221;).setGridParam({delData:{wmemno:MemNo}});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return true;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, //del options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {} //search options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ); <br />&#160; }</p>
]]></description>
        	        	<pubDate>Tue, 12 Aug 2008 09:18:10 +0300</pubDate>
        </item>
</channel>
</rss>