This is a migrated thread and some comments may be shown as answers.

Get the Visible Date Range (init and on navigate)

3 Answers 204 Views
MultiViewCalendar
This is a migrated thread and some comments may be shown as answers.
Mark Kornhauser
Top achievements
Rank 1
Iron
Mark Kornhauser asked on 27 Jun 2020, 03:25 AM

Can someone help me - try as I might I am unable to get the current visible date range displayed on the MultiViewCalendar.

I am clearly missing something but have been over the doco and can not find this.

Our application needs to load data based on the current range of dates visible.

I have it in month with 2 views so need to know the first date and last date of the display range.

I am sorry as I am sure this is super easy.

 

Thanks in advance.

 

3 Answers, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 30 Jun 2020, 12:24 PM

Hi Mark,

If you would like to access the currently selected range in the Kendo UI MultiViewCalendar widget, use the following method:

https://docs.telerik.com/kendo-ui/api/javascript/ui/multiviewcalendar/methods/selectrange#selectrange

Furthermore, you can find the full list of methods and options of the widget here:

https://docs.telerik.com/kendo-ui/api/javascript/ui/multiviewcalendar

In case the scenario you are willing to achieve is different, do let me know.

 

Regards,
Tsvetomir
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Mark Kornhauser
Top achievements
Rank 1
Iron
answered on 30 Jun 2020, 10:28 PM

Tsvetomir,

No sorry - I am aware of range.

I need the currently VISIBLE values off the screen, not the range and not selcted values.

I have highlighted in the picture attached what I am trying to get.

0
Tsvetomir
Telerik team
answered on 01 Jul 2020, 06:43 AM

Hi Mark,

Thank you for sharing the screenshot, it helped me to understand the functionality you are willing to achieve. I have created a sample Dojo for your convenience: 

https://dojo.telerik.com/AkaPuLUm

Examine the approach and let me know if it works out in your case.

 

Kind regards,
Tsvetomir
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
MultiViewCalendar
Asked by
Mark Kornhauser
Top achievements
Rank 1
Iron
Answers by
Tsvetomir
Telerik team
Mark Kornhauser
Top achievements
Rank 1
Iron
Share this question
or