Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mkeery on Oct 09, 2008 10:26
open dhtmlx forum
setnumberformat

i am using setnumberformat( "0,000.00", 2 ) and the number in the grid shows
1.000,00
what am i doing wrong.


dhtmlxGrid v.1.6 Professional edition build 80512
(c) DHTMLX Ltd.
Answer posted by Support on Oct 09, 2008 10:42
If you want to have replace comma and dot chars, the code must be 
          mygrid.setNumberFormat(index,"0,000.00",".",",");

http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Cell_values_formating.html#grid_art_formatcells