when you set the features as filter :true as the code below
features: {
filterBar: true,
stripe: true,
filter: true,
quickFind: true,
search: true,
sort: new Date(),
columnPicker: true,
},
data: [
CODE: SELECT ALL
{
text: 'Delivery Date',
flex: 1,
type: 'date',
field: 'deliveryDate',
format: 'DD/MM/YYYY',
hidden: containerGridColumns.deliveryDate,
filterable: {
filterFn: ({ value, record }) => {
console.log(containerScheduler.eventStore);
var date1 = new Date(value);
var date2 = new Date(record.deliveryDate);
return date1.valueOf() == date2.valueOf();
}
},
]
then you get the date filter on your column. there are on, before and after. When you select any of the options and select the right date which is today it becomes 01/01/1200.
Is there any way to format it somewhere? or get the right value? documentation doesn't help at all.