DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setDateFormat(mask)

Required library edition:
Required library file: dhtmlxgrid.js

set mask for date formatting in grid (works for “dhxCalendar” and “dhxCalendarA” types only)

- mask - date mask, d,m,y will mean day,month,year; for example ”%d/%m/%y” - 22/05/1985

       mygrid.setDateFormat("%m/%d/%Y");

See also: setNumberFormat

Related articles:

- Formatting Date Values