<?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: small bug in $.jgrid.checkValues</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-jgrid-checkvalues</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/small-bug-in-jgrid-checkvalues/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on small bug in $.jgrid.checkValues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-jgrid-checkvalues#p28535</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-jgrid-checkvalues#p28535</guid>
        	        	<description><![CDATA[<p>Thanks Oleg.</p>
</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 27 Mar 2013 09:56:50 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on small bug in $.jgrid.checkValues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-jgrid-checkvalues#p28521</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-jgrid-checkvalues#p28521</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p><a href="https://github.com/tonytomov/jqGrid/blob/v4.4.4/js/grid.common.js#L590" target="_blank">the line</a> of code</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6492' value='Select Code' data-codeid='sfcode6492' /></p>
<div class='sfcode' id='sfcode6492'>try { nm = g.p.colModel[i].formoptions.label; } catch (e) {}</div>
<p>of <strong>$.jgrid.checkValues</strong> method produces permanently exception of <strong>editrules</strong> property is defined without be defined <strong>formoptions&#160;</strong>property. I think it would be better to replace try-catch block to if with the test whether g.p.colModel[i].formoptions is defined:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9541' value='Select Code' data-codeid='sfcode9541' /></p>
<div class='sfcode' id='sfcode9541'>if (g.p.colModel[i].formoptions != null) { nm = g.p.colModel[i].formoptions.label;&#160;}</div>
<p>By the way it would be good to cache <strong>g.p.colModel</strong> and&#160;<strong>g.p.colModel[i]</strong> in additional variables (see the code of <strong>$.jgrid.checkValues</strong>).</p>
<p><span style="font-size: 14px;">Best regards</span></p>
<p>Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Mon, 25 Mar 2013 18:08:51 +0200</pubDate>
        </item>
</channel>
</rss>