DHTMLX Docs & Samples Explorer

Date/Decimal format from XML

You are allowed to specify formats of columns containing date and numeric data within XML file. Columns with numeric data should have edn or ron format, columns with calendar - dhxCalendar, dhxCalendarA format.

Try to edit Calendar and Numeric fields:

Source
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxgrid.css">
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxgrid_dhx_skyblue.css">
<link rel="STYLESHEET" type="text/css" href="../../../dhtmlxCalendar/codebase/dhtmlxcalendar.css">
<script  src="../../codebase/dhtmlxcommon.js"></script>
<script  src="../../codebase/dhtmlxgrid.js"></script>
<script  src="../../codebase/dhtmlxgridcell.js"></script>
<script  src="../../../dhtmlxCalendar/codebase/dhtmlxcalendar.js"></script>    
<link rel="STYLESHEET" type="text/css" href="../../../dhtmlxCalendar/codebase/skins/dhtmlxcalendar_dhx_skyblue.css">
<script  src="../../codebase/excells/dhtmlxgrid_excell_dhxcalendar.js"></script>
 
 
 
 
<div id="gridbox" style="width:790px;height:250px;background-color:white;"></div>
<script>
mygrid = new dhtmlXGridObject('gridbox');
mygrid.setImagePath("../../codebase/imgs/");
mygrid.setSkin("dhx_skyblue");
mygrid.loadXML("../common/grid_formatX.xml");
</script>