Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Arun Mandi on Jan 07, 2008 16:10
open dhtmlx forum
Number format

Hi,
I have the professional v1.5. Can I format a number in a column as a percentage (7.89 %) in a cell type ro.

Thanks,
Arun
Answer posted by Support on Jan 08, 2008 03:09
grid 1.5 supports formating for ro excells as well, but you need to define it as "ron"

mygrid.setColTypes("ron,ed,ed");   //define column as ron
mygrid.setNumberFormat("0.00%",0); //set mask for first column