<?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: Inline editing and data validation</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-and-data-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/discussion/inline-editing-and-data-validation/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>john5788 on Inline editing and data validation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-and-data-validation#p22990</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/inline-editing-and-data-validation#p22990</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I am following the Row Editing -&#62;&#160;Using Events example to create a grid that I can click to edit fields.</p>
</p>
<p>My onSelectRow function looks something like&#160;<a href="http://pastebin.com/tYSdsuWt" target="_blank">http://pastebin.com/tYSdsuWt</a></p>
</p>
<p>I have set a few editrules in my colModels.</p>
</p>
<p>editable: true, editrules:{required: true, integer: true}</p>
</p>
<p>Now to my question:</p>
</p>
<p>The validation on integer: true works when I move to select a new row and it is an invalid field. However, the code alerts me of the error, then continues and selects the new row instead of prompting me to stop to fix the bug. Is there an event for the editrules errors that I can use to flag an error and prevent my grid from moving to the next edit row?</p>
</p>
<p>I hope my question isn&#39;t too vague, it is diffiicult to explain.</p>
]]></description>
        	        	<pubDate>Mon, 02 May 2011 04:55:52 +0300</pubDate>
        </item>
</channel>
</rss>