Date formatting can be applied to dhxCalendar and dhxCalendarA columns.
Date formatting applied to the whole grid (so it will be used in any column of dhxCalendar type) can be set as:
grid.setDateFormat(mask)
Or in case of initialization from XML:
<column format="mask"...
Or when initialization is from HTML:
<td ... format="mask"...
Please, take into account that while it is possible to define a few formats with initialization from XML or HTML, only the last format will be applied.
Format string can contain any separator character and any element from the following list:
For example:
grid.setDateFormat("%m/%d/%Y"); // => 01/25/1980 grid.setDateFormat("%d-%c-%y"); // => 25-1-80 grid.setDateFormat("%M %e, %W"); // => January 25, Friday