<?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: validation error hide the line with the error</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/validation-error-hide-the-line-with-the-error</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/bugs/validation-error-hide-the-line-with-the-error/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on validation error hide the line with the error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/validation-error-hide-the-line-with-the-error#p28716</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/validation-error-hide-the-line-with-the-error#p28716</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
<p>Thanks. I will fix it like you suggest, but this need to be improved - i.e allo to set position by the user.</p>
</p>
<p>Best Regrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Apr 2013 16:23:51 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on validation error hide the line with the error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/validation-error-hide-the-line-with-the-error#p28710</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/validation-error-hide-the-line-with-the-error#p28710</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>the current implementation of inline editing (see <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.inlinedit.js#L224-L225" target="_blank">the lines</a>) place dialog with the error message relatively to the row with the error:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1170' value='Select Code' data-codeid='sfcode1170' /></p>
<div class='sfcode' id='sfcode1170'>var positions = $.jgrid.findPos($(&#34;#&#34;+$.jgrid.jqID(rowid), $t.grid.bDiv)[0]);<br />$.jgrid.info_dialog($.jgrid.errors.errcap,cv[1],$.jgrid.edit.bClose,{left:positions[0],top:positions[1]});&#160;</div>
<p>The problem is that the header of the displayed dialog overlap the current editing line. So if the user read the error message the row with the error could not been seen. I suggest the place the dialog <em>under</em> the row with the error:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6904' value='Select Code' data-codeid='sfcode6904' /></p>
<div class='sfcode' id='sfcode6904'>var <strong>tr = $t.rows.namedItem(rowid), positions = $.jgrid.findPos(tr)</strong>;<br />$.jgrid.info_dialog($.jgrid.errors.errcap,cv[1],$.jgrid.edit.bClose,{left:positions[0],top:positions[1]<strong>+$(tr).outerHeight()</strong>});&#160;</div>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Tue, 23 Apr 2013 12:34:32 +0300</pubDate>
        </item>
</channel>
</rss>