<?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: value returned by the getInd function</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/value-returned-by-the-getind-function</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/value-returned-by-the-getind-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on value returned by the getInd function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/value-returned-by-the-getind-function#p15545</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/value-returned-by-the-getind-function#p15545</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Everthing is ok - javascript interpret 0 as false, so in your script you must perform some additional checking for this</p>
<p>if (!jQuery("#list1&#8243;).getInd(idz,false) )</p>
<p>something like</p>
</p>
<p>if ( jQuery("#list1&#8243;).getInd(idz,false) !== false ) {</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 09 Mar 2010 20:12:42 +0200</pubDate>
        </item>
        <item>
        	<title>phicarre on value returned by the getInd function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/value-returned-by-the-getind-function#p15465</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/value-returned-by-the-getind-function#p15465</guid>
        	        	<description><![CDATA[<p>I am not a good Javascript specialist but I note this:</p>
<p>var a = jQuery("#list1").getInd(idz,false);<br />alert(a);</p>
<p>if (!jQuery("#list1").getInd(idz,false) ) {</p>
<p>jQuery("#list1").addRowData(idz,{id:idz,nom:zone,objet:figure}); &#160;<br />}&#160;&#160;</p>
</p>
<p>Before to insert idz, the first time, a is false because idz is not in the grid.</p>
<p>If I try to insert again, a is equal to 0 because it is the row of the first insertion.</p>
<p>I believe that, in Javascript, zero and false are identicals !</p>
<p>Don&#39;t you think there is an ambiguity in the returned values of the getInd function ?</p>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 16:40:09 +0200</pubDate>
        </item>
</channel>
</rss>