Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gigi on Jun 24, 2008 22:16
open dhtmlx forum
number format in dhtmlxtreegrid/normal grid

Hi,

I am using dhtmlxGrid_pro_v15_80319.
I used mygrid.setNumberFormat("0,000.00",3); .I have given this code after "loadXML" function.


Still numerical vales are not displayed in the speciifed format.
I have included dhtmlxgrid.js in my application.

How can i resolve this?


Answer posted by Support on Jun 25, 2008 01:40
Please be sure that column type, against which setNumberFormat called has ron or edn type.
Also , this command need to be specified before data loading, so it has sense to move it before loadXML call
    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Cell_values_formating.html#grid_art_formatcells