Hi all,
the code below does not display the zero values (using a number format or not) when the column types are all ‘edn’, but works OK with ‘ron’ (see screenshot).
Any clue someone ?
Cheers.
data = {rows: [{id:12, data:[0, 1, -7]},
{id:13, data:[0, 3, 2]},
{id:14, data:[5, 0, 19]},
{id:15, data:[-1, 1, 0]}]
};
var mygrid = new dhtmlXGridObject(id);
mygrid.setImagePath("data/dhtmlTreeGrid/dhtmlxGrid/codebase/imgs/");
mygrid.enableAutoHeight(true);
mygrid.enableAutoWidth(true);
mygrid.setHeader(['c0','c1','c2']);
mygrid.setColTypes('edn,edn,edn');
mygrid.setNumberFormat("00.00", 2);
mygrid.setInitWidths("70,70,70");
mygrid.setSkin("light");
mygrid.init();
mygrid.parse(data, "json");