<?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: using comma as decimal separator while editing</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/using-comma-as-decimal-separator-while-editing</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/using-comma-as-decimal-separator-while-editing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on using comma as decimal separator while editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-comma-as-decimal-separator-while-editing#p8691</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-comma-as-decimal-separator-while-editing#p8691</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The purpose of this is that the calculations with , does not work - also the number is converted in a readable and calculatable format.</p>
<p>1. If your server return the numbers with comma I think that you should not use a formatter, but if you want thia</p>
<p>2. I think that this is a good solution : <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:custom_formatter" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>....._formatter</a></p>
</p>
<p>Best Regards</p>
]]></description>
        	        	<pubDate>Mon, 17 Aug 2009 07:53:31 +0300</pubDate>
        </item>
        <item>
        	<title>birt on using comma as decimal separator while editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-comma-as-decimal-separator-while-editing#p8676</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-comma-as-decimal-separator-while-editing#p8676</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I would like to use a comma (,) as decimal separator also in edit mode (I&#39;m using celledit). Is that possible??<br />It is much easier to enter a number as 12,23 rather than 12.23 (with swedish keyboard and settings).</p>
<p>(I&#39;m using grid.locale-sv.js file, which has comma as decimal separator, so I would prefer edit whitout unformating the values.)</p>
<p>I tried to go around this with putting a function that replaced a comma (,) with a dot (.) in the beforeSaveCell event. With this function it was ok to enter a value such as 12,23 which was converted to 12.23 "in the background". It seemed to work until I added &#39;formatter:number&#39; to the colModel. After that the edited cell returns NaN so it doesn&#39;t like my "convert function". I&#39;m not sure why since when looking in the database everything looks good (with correct values) and when reloading the grid, it accepts the edited value and shows it as supposed.</p>
<p>But even if I would solve this in any way, I don&#39;t know how to solve it when adding a row, because the add function hasn&#39;t any beforeSaveCell event....</p>
<p>Help would be very appreciated!</p>
</p>
<p>/T</p>
]]></description>
        	        	<pubDate>Mon, 17 Aug 2009 07:00:03 +0300</pubDate>
        </item>
</channel>
</rss>