Unplanned
Last Updated: 10 Apr 2019 07:19 by ADMIN
Tony
Created on: 09 Apr 2019 04:20
Category: DateRangePicker
Type: Feature Request
10
Can't set DateRangePicker at depth of year

I am trying to configure the new DateRangePicker to chose ranges of months.  I tried the dojo in this reference document, but the dojo does not work.  I select the Month, but nothing happens.  https://docs.telerik.com/kendo-ui/api/javascript/ui/daterangepicker/configuration/depth

I want the result to show April 2019 to April 2019.  The control should return 4/1/2019 and 4/30/2019, if possible.

3 comments
ADMIN
Alex Hajigeorgieva
Posted on: 10 Apr 2019 07:19
Hello, Tony,

The item is now public. You should be able to access it from your account or from the public link here:

https://feedback.telerik.com/kendo-jquery-ui/1404289-can-t-set-daterangepicker-at-depth-of-year

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tony
Posted on: 09 Apr 2019 18:48

Hi Alex,

Thanks for the quick reply.  Please change my ticket to a public feature request so others can vote on it.  I would love to see this feature implemented.

Tony

ADMIN
Alex Hajigeorgieva
Posted on: 09 Apr 2019 13:48
Hello, Tony,

Thank you for reporting that the documentation example does not work as expected. The reason is that the Kendo UI DateRangePicker selection currently works only with "month" view. So for the example to work, the depth should be "month" so that the user can reach a month view and make a selection.

https://docs.telerik.com/kendo-ui/controls/editors/daterangepicker/overview#start-view-and-navigation-depth

The depth property is inherited from other widgets and at present, it is not yet usable in the context of the DateRangePicker since such range is not allowed to be selected at that depth so I have modified the example in the documentation like this:

https://dojo.telerik.com/@bubblemaster/ONUmuvoK

$("#daterangepicker").kendoDateRangePicker({
    depth: "month",
    start: "year"
});

I have also created an issue with an enhancement request which is available in our public repo, however, if you do not mind, I would like to convert this ticket to a public feature request so that more people can vote for it. The more popular an item is, the greater the likelihood of it to get in the planning for future developments.

https://github.com/telerik/kendo-ui-core/issues/4975

Let me know if I can convert this thread or in case you have other questions that I can help with.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.