Date cell type

To trigger the Date cell type, use the option type: 'date' in columns array or cells function.

The Date cell uses Pikaday datepicker as the UI control. Pikaday uses Moment.js as a date formatter.

Note that Date cell requires additional files in your <head>:

  • demo/js/moment/moment.js
  • demo/js/pikaday/pikaday.js
  • demo/js/pikaday/css/pikaday.css

All data entered to the data-typed cells are validated agains the default date format (DD/MM/YYYY), unless another format is provided.

If you enable the correctFormat config item, the dates will be automatically formatted to match the desired format.