Greetings,
I'm having an issue with the Date filter when the grid contains null date values.
I'm currently using the following operators for the Date filter:
{ text: 'grid.filterAfterOperator', operator: 'gt' },
{ text: 'grid.filterBeforeOperator', operator: 'lt' },
{ text: 'grid.filterIsNullOperator', operator: 'isnull' },
{ text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' }
The "Is null/Is not null" operators are working but the "Is before/Is after" operators are not filtering out the null values.
Is there a way to fix this? Thanks!
Jason
Hi,
The Calendar Fast Navigation Bar is currently broken in all versions of KendoReact that support React 18 as per https://github.com/telerik/kendo-react/issues/1566. We are working around the issue by disabling the Calendar Fast Navigation Bar as described here https://www.telerik.com/kendo-react-ui/components/dateinputs/calendar/sidebar/.
Unfortunately this does nothing to address the issue in KendoReact Grid filter menus - see this StackBlitz for an example: https://stackblitz.com/edit/react-va2kr1?file=app%2Fmain.tsx.
Is there a way to globally disable the Calendar Fast Navigation Bar so we don't have to do this everywhere and create a custom Grid filter?
I've just updated @progress/kendo-react-* to 5.0.0
I have a grid with a columnMenu and a filter of type 'date'.
filterOperators={{
'date': [
{ text: 'grid.filterAfterOperator', operator: 'gt' },
{ text: 'grid.filterBeforeOperator', operator: 'lt' }
]
}}
...
<Column
field="createdAt"
title={formatMessage({id: 'date created'})}
filter={'date'}
cell={GridCellTooltip}
columnMenu={ColumnMenu}
/>
As soon as I click the 'Toggle Calendar' button, I can briefly see the calendar appear, then it disappears and the entire filter dropdown menu disappears.
This is my package.json:
"@progress/kendo-data-query": "1.6.0", "@progress/kendo-date-math": "1.5.9", "@progress/kendo-drawing": "1.17.1", "@progress/kendo-licensing": "1.2.1", "@progress/kendo-react-animation": "5.0.0", "@progress/kendo-react-buttons": "5.0.0", "@progress/kendo-react-charts": "5.0.0", "@progress/kendo-react-data-tools": "5.0.0", "@progress/kendo-react-dateinputs": "5.0.0", "@progress/kendo-react-dialogs": "5.0.0", "@progress/kendo-react-dropdowns": "5.0.0", "@progress/kendo-react-grid": "5.0.0", "@progress/kendo-react-inputs": "5.0.0", "@progress/kendo-react-intl": "5.0.0", "@progress/kendo-react-layout": "5.0.0", "@progress/kendo-react-popup": "5.0.0", "@progress/kendo-react-tooltip": "5.0.0", "@progress/kendo-react-treeview": "4.6.0", "@progress/kendo-react-upload": "5.0.0", "@progress/kendo-theme-default": "5.10.0",
How can I change date format of the DatePicker in grid filter cell?
I want the placeholder as "day/month/year" and date as "dd/MM/yyyy".