Date Picker (vanilla-calendar)
Information
Demo
Editor Options
import { type VanillaCalendarOption } from '@slickgrid-universal/common';
prepareGrid() {
this.columnDefinitions = [
{
id: 'title', name: 'Title', field: 'title',
type: 'dateIso', // if your type has hours/minutes, then the date picker will include date+time
editor: {
model: Editors.date,
// previously known as `editorOptions` for < 9.0
// also vanilla-calendar was previously v2
// see their migration: https://github.com/uvarov-frontend/vanilla-calendar-pro/wiki/%5BMigration-from-v2.*.*%5D-New-API-for-all-options-and-actions-in-v3.0.0)
options: {
displayDateMin: 'today',
disableDates: ['2022-08-15', '2022-08-20'],
} as VanillaCalendarOption,
},
},
];
}Custom Validator
Date Format
Last updated