I want to disable weekends and holidays in Grid cell editor's date picker. How do I do that?
Support Forum
Hey himanshurjoshi,
You can use the following snippet to configure your cell editor date picker
{
text : 'Start',
id : 'start',
type : 'date',
field : 'start',
editor: {
picker: {
disableWeekends: true,
disabledDates: []
}
}
}
https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-disableWeekends
https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-disabledDates
Best regards,
Márcio