Unplanned
Last Updated: 04 Jul 2022 08:58 by ADMIN
Kevin
Created on: 27 Jun 2022 14:54
Category: Filter
Type: Feature Request
3
Add Date Format Configuration

Hi Team,

I'd like to request adding a format configuration for the Kendo UI Filter for Date fields. 

Thank you!

1 comment
ADMIN
Nikolay
Posted on: 04 Jul 2022 08:58

Hello Kevin,

Thank you so much for this feature request.

I can definitely see the value in it and I have approved it. In case the votes for it go up we will consider adding in the RoadMap for future implementation.

Meanwhile, you could format the date value displayed in the Filter programmatically. I wrote this function that seems to do the job and here is a runnable Dojo that shows it in action:

$("#filter").kendoFilter({
        change: formatDates
      });

function formatDates(e) {
        var datePicker = $("input[data-role='datepicker']").data("kendoDatePicker");
        datePicker.setOptions({
          format: "yyyy-MM-dd"
        })
      }

Let me know in case you have further questions or ideas regarding this future functionality.

Regards,
Nikolay
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.