<?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: Leading zero of text field is dropped in grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid</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/leading-zero-of-text-field-is-dropped-in-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Leading zero of text field is dropped in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6870</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6870</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Check the 3.5 beta.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 25 May 2009 02:03:06 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on Leading zero of text field is dropped in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6809</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6809</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I&#39;ve followed the code through.&#160; The json array before being fed to the grid:</p>
<p><span lang="EN"></span></p>
<p>&#60;tr&#62;&#60;td class="array" onClick="cfdump_toggleRow(this);" style="cursor:hand;" title="click to collapse"&#62;11&#60;/td&#62;</p>
<p>body: &#60;td&#62; 099698071193253 &#60;/td&#62;&#60;/tr&#62;</p>
<p>Firebug Data Return is: (<strong>Data field in question is in bold</strong>)</p>
</p>
<pre>{"ROWS":[["ZT7947",1640872.0,"OFC1234","TACO BELL CORP.  ##OFC1234",</pre>
<pre>"15\\/05\\/2009 00:00:00","","ATTN
: KATHY WOOD:IRVINE, CA","TACO BELL CORPORATE",<a href="mailto:sue_somebody@tb.com" target="_blank">sue_somebody@tb.com</a>,</pre>
<pre>"CATBC",<strong>9.9698071193253E13</strong>,"FEDERAL EXPRESS"],</pre>
<pre>["ZT7947A",1640924.0,"OFC1234","TACO BELL CORP.  ##OFC1234","06\\/04\\/2005 00:00:00","","ATTN
: KATHY WOOD:IRVINE, CA","TACO BELL CORPORATE","sue_somebody@tb.com","CATBC",7.06395013304E11,"FEDERAL
 EXPRESS"]],"PAGE":17.0,"TOTAL":17.0,"USERDATA":{"MSG":"Retreived 242 Records.","TYPE":"Success"},"RECORDS"
:242}</pre>
<pre>It looks like the grid thinks this is a number not a text field.</pre>
<pre>thanks,  Jim</pre>
</p>
<p>
<br />
&#160;</p>
]]></description>
        	        	<pubDate>Wed, 20 May 2009 13:35:01 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Leading zero of text field is dropped in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6806</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6806</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This really is a problem. I have changed totally this behaviour in 3.5 beta, which will give you the right result. Also try the following</p>
<p>In case of&#160; JSON try to enclose the value in string instead - i.e ... "mynumber" : "099698071193253"</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 20 May 2009 13:26:23 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on Leading zero of text field is dropped in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6758</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/leading-zero-of-text-field-is-dropped-in-grid#p6758</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>This is VERY important for me.</p>
<p>The is colmodel definition of the column.</p>
<p>{name:&#39;waybillnumber&#39;,index:&#39;waybillnumber&#39;, align:"center",sorttype:"text"},</p>
<p>This is a shipping tracking number and often has a leading zero&#160;like this:</p>
<p>099698071193253</p>
<p>The number is correct in the database, but&#160;in the grid it show up as:</p>
<p>99698071193253</p>
<p>My grid data type is: datatype: &#39;json&#39;,</p>
<p>Why&#160;is this happening?</p>
<p>Thanks,&#160; Jim&#160;</p>
]]></description>
        	        	<pubDate>Tue, 19 May 2009 14:53:02 +0300</pubDate>
        </item>
</channel>
</rss>