Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alejandro Valverde on Aug 25, 2008 20:25
open dhtmlx forum
Price column format for comma separator

Hi I would like to format the price columns on the grid using comma separator for thousands, for example:

$100,000.00
$1,234.56


Thanks
Answer posted by Support on Aug 26, 2008 01:47
Just use edn or ron column type with correct mask

 grid.setNumberFormat("$0,000.00",index); // 100000 => $100,000.00