Why the Date Range Picker doesn't work, when I use depth option ?

2 Answers 311 Views
DateRangePicker
Christophe
Top achievements
Rank 1
Christophe asked on 29 Apr 2021, 09:48 AM

Hi, I try to turn your "Date Range Picker" widget into a "Year Range Picker".

Your widget give the options "start" and "depth". I believed that will be work well but absolutely not... When I use the both options, the widget stop to work.

I tried with your example in kendo ui dojo, this code :

    
<div id="example" style="text-align: center;">
    <div class="demo-section k-content wide" style="display: inline-block;">

        <h4>Pick a date range</h4>
        <div id="daterangepicker" title="daterangepicker"></div>
    </div>
    <script>
        $(document).ready(function() {
            $("#daterangepicker").kendoDateRangePicker({
    		start: "decade",
    		depth: "decade"
            });
        });
    </script>
</div>
Why it doesn't work and how to fix it ?

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi
Telerik team
answered on 04 May 2021, 05:57 AM

Hi Christophe,

Indeed the current implementation does not allow selection with a depth set to anything but "month". I have logged this to our repo and you can track its status in the link below:

We apologize for the caused inconvenience and we thank you for your understanding.

Regards,
Georgi
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.

0
n/a
Top achievements
Rank 1
Iron
answered on 03 Jul 2023, 04:42 PM
Is there any update on this bug as its causing me issues and it seems odd to have to build my own daterangepicker to get around it?
Georgi Denchev
Telerik team
commented on 06 Jul 2023, 11:24 AM

Hello,

I just checked the issue and there seems to be no updates regarding this problem yet. I will raise its priority, however I don't have any concrete time frame of when this might be fixed. In most cases, the more people report a bug, the higher it moves in our priority chain.

Best Regards,

Georgi

Tags
DateRangePicker
Asked by
Christophe
Top achievements
Rank 1
Answers by
Georgi
Telerik team
n/a
Top achievements
Rank 1
Iron
Share this question
or