Typescript documentation?

1 Answer 37 Views
Scheduler
rudi
Top achievements
Rank 1
rudi asked on 11 Nov 2024, 05:28 PM

Hi, 

I am trying to evaluate the Vue Components but I cannot find any documentation about the data types. For example what is 

the data type of a scheduler item?

Is it still supported this product? Is it Typescript supported?

Every example looks really old using javascript and the options API and most of the links on the documentation are dead ...

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 13 Nov 2024, 10:02 AM

Hi Rudi,

You can check the available information about using TypeScript with Kendo UI for Vue in the following help article:

As for the interfaces, you can find them within each API section of the components:

 

Regards,
Konstantin Dikov
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.

rudi
Top achievements
Rank 1
commented on 13 Nov 2024, 10:44 AM

Hi, yes I have seen that mini-tutorial but it's the only TS reference. Documentation is 100% options API and js.

BTW links are still mostly broken. For example here https://www.telerik.com/kendo-vue-ui/components/scheduler/views/month/ the "month view properties" link does nothing. 

I couldn't understand what type was required so I used any and somehow converted my remote data to the one needed by the scheduler. It seems you have to populate everything at once. I expected some documentation about data-binding, so that the remote server is called when the date changes. Do we have to implement ourselves the data-binding? 

Konstantin Dikov
Telerik team
commented on 15 Nov 2024, 11:08 AM

Hi Rudi,

We will check the broken example, although that you are still able to open it in stackblitz (where it works correctly).

As for the type of the scheduler item, you can use the API page to find all interfaces:

Regarding the data-binding, the Scheduler will display the data being set to its "dataItems" property, so it is up to the developer to pass the current data. When it comes to editing, you can handle the Scheduler events to update the dataItems collection:

rudi
Top achievements
Rank 1
commented on 15 Nov 2024, 02:27 PM

Hi, data-items has been set, but it should update when the current date window change. It seems to me that there is no way to update it. It looks like a static attribute.
Konstantin Dikov
Telerik team
commented on 20 Nov 2024, 09:09 AM

Hi Rudi,

The Scheduler expects the complete list of events. However, if you want to manually pass only the data for the selected date, you can handle the onDateChange (and onViewChange) events to get and set the new data for that date/view:

 

Hope this helps.

 

Tags
Scheduler
Asked by
rudi
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or