DHTMLX Docs & Samples Explorer

setDateFormat(mask)

Required library edition: This method requires Professional Edition of the DHTMLX library
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: