<?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: get additional data on custom validation</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/get-additional-data-on-custom-validation</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/get-additional-data-on-custom-validation/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on get additional data on custom validation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-additional-data-on-custom-validation#p21434</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-additional-data-on-custom-validation#p21434</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I do recommend you to check the dates server side and use the success function to notify the user if the dates are ok.</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:inline_editing" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ne_editing</a></p>
<p>Note that in your case you should use this evenent in both saveRow and editRow</p>
</p>
<p>Kind Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 26 Dec 2010 14:12:31 +0200</pubDate>
        </item>
        <item>
        	<title>pninaho on get additional data on custom validation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/get-additional-data-on-custom-validation#p21422</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/get-additional-data-on-custom-validation#p21422</guid>
        	        	<description><![CDATA[<p>I have 2 fields <strong>departDate</strong> and <strong>arriveDate</strong> and in the save of edit/add I need to check the arriveDate is greater then the departDate</p>
<p>I create custom function for the arriveDate field but I didnt know how to get the value of the departDate.</p>
<p>I put the edit button in the gridComplete function:</p>
<p>for(var i=0;i &#60; ids.length;i++){<br />&#160; var cl = ids[i];<br />&#160; be = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;E&#39; onclick="jQuery(&#39;#"+subgrid_table_id+"&#39;).jqGrid(&#39;editRow&#39;,"+cl+",true,pickdates);" /&#62;";<br />&#160; se = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;S&#39; onclick="jQuery(&#39;#"+subgrid_table_id+"&#39;).saveRow(&#39;"+cl+"&#39;);" /&#62;";<br />&#160; ce = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;C&#39; onclick="jQuery(&#39;#"+subgrid_table_id+"&#39;).restoreRow(&#39;"+cl+"&#39;);" /&#62;";</p>
<p>jQuery("#"+subgrid_table_id).jqGrid(&#39;setRowData&#39;,ids[i],{act:ce+se+be});</p>
<p>}</p>
<p>so the user doesn&#39;t need to select the row before he press on the edit so I cant get the select row id and try to take the value from there.</p>
<p>Any solution?</p>
<p>thanks!</p>
]]></description>
        	        	<pubDate>Fri, 24 Dec 2010 09:27:19 +0200</pubDate>
        </item>
</channel>
</rss>