Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jp on Jun 26, 2008 16:07
open dhtmlx forum
number format

Hi, i have some edn columns with the 0.00 format and i'm getting the values of this columns from a database. So in the database i have a 3.6666 value and the grid shows correctly 3.67. But if i modify this row and i save it...the value is updated to 3.67 instead of the original value. Is there any way to emulate excel behavior?? when i format a cell with 2 decimals, the cell SHOWS the 2 decimals, but the value of the cell is with the original precision.

Thanks in advance.
Answer posted on Jun 27, 2008 06:23
The original code doesn't support such functionality, but you can try to use attached js file in addition to existing ones .
It will change behavior to required one.
Attachments (1)
Answer posted by jp on Jun 27, 2008 07:00
Everything seems to be working fine, thanks.