new 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,
onInstantiated: (instance) => console.log('instance', instance), // get instance from 3rd party lib
// previously known as `editorOptions` for < 9.0
options: {
displayDateMax: 'today',
disableDates: ['2022-08-15', '2022-08-20'],
} as VanillaCalendarOption,
},
},
];
}Custom Validator
Date Format
Last updated