Hello,
Data from backend returned:
{
"data":
[
{
"date": "2022-10-15",
"id": "2"
},
{
"date": "2022-10-18",
"id": "6",
},
{
"date": "2022-10-15",
"id": "5",
}
],
"success": true,
"total": 3
}
Localization:
NumberFormat : {
locale : 'lt',
currency : 'EUR'
},
DateHelper : {
locale : 'lt',
parsers : {
L : 'YYYY-MM-DD',
LT : 'HH:mm'
},
}
Grid config:
features : {
sort : ['date'],
filter : true,
},
columns : [
{ text : 'Id', field : 'id', editor : false, hidden : true },
{ text : 'Data', field : 'date', type : 'date', format: 'YYYY-MM-DD', editor: false, alwaysWrite: true },
],
When applying filter to the grid column it does not work.
Please see more details in the screenshots:
Strange thing observed that the date column filter tooltip shows not localized date and shows with time and timezone.
What is the recommended way working with Date/DateTime fields in Bryntum products? Or maybe there is a simple solution to the filtering issue described above?
Thanks!