Date format of the DatePicker in grid filter cell

1 Answer 206 Views
DatePicker Filter  Grid
Ibrahim Khan
Top achievements
Rank 1
Ibrahim Khan asked on 29 Dec 2021, 07:21 PM

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".

1 Answer, 1 is accepted

Sort by
1
Accepted
Stefan
Telerik team
answered on 30 Dec 2021, 04:12 AM

Hello,

This can be achieved with our new PropsContex for the DateInputs:

https://www.telerik.com/kendo-react-ui/components/dateinputs/props-context/

In this case, we can set the format prop. I made an example for this:

https://stackblitz.com/edit/react-bh72m1?file=app/main.jsx

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
DatePicker Filter  Grid
Asked by
Ibrahim Khan
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or