dhxCalendar data type

Hi

I want to use dhxCalendar as column type.
like this: setColTypes(“ro,dhxCalendar”);

Could you tell me what type of data this kind of column is waiting to get? (String, Long, Date)

Thanks,

You need to put data according to the mask defined by setDateFormat() method:

mygrid.setDateFormat("%m/%d/%Y"); // this is the default value of the mask ... <cell>25/01/2012</cell>

If you still have any issues have a look at the following example:
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/01_cell_types/01_calendar_grid.html