i need to add multiple resources to scheduler and second resource data lode according to the first resource list change.
i added two resources with edit template. any workaround u have.
3 Answers, 1 is accepted
0
Vladimir Iliev
Telerik team
answered on 21 Aug 2013, 07:12 AM
Hi,
Basically this scenario is possible, however it will require custom solution for the cascading functionality. For example you can define the two resources and add custom editor template for the scheduler in which to use the change event handler of the first resource to call the read method of the second editor dataSource. Additionally you can send additional parameters to the server through the second editor read action by which to filter the data.
Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Vladimir, thank you for your answer, it is useful, but can you tell me, why I have write from scratch all base schedulers editor functionality to add two custom fields?
In my project I have to:
add one field with dropdown list,
and add second field with cascade dropdown list from the first one,
and to do that, I have to write date pickers, repeater fields for each type of repetition, why?
Is it possible to make it in different way, Could you provide a some kind of solution to this situation?
Kind Regards,
Luke Kozak
i3D S.A.
0
Vladimir Iliev
Telerik team
answered on 10 Oct 2014, 06:21 AM
Hi Luke,
You can check the following CodeLibrary which contains custom editor similar to the build-in one which you can use as baseline to create the needed custom editors: