I like the new Scheduler,
I would like to change the date format in the pop up. so i try to create editable template ,
and my question how to add my recources input and All day event check box in that template ? I only know how to add the start and end time from this example.
<script id="editor" type="text/x-kendo-template">
<p><label>Title: <input name="title" /></label></p>
<p><label>Start: <input data-role="datetimepicker" name="start" /></label></p>
<p><label>Start: <input data-role="datetimepicker" name="end" /></label></p>
5 Answers, 1 is accepted
Basically there are several ways to create the resources editors and which one you would choose depends entirely on you and the exact setup that you have. For convenience I created small example of custom editor template which gets all available resources from the Scheduler and generate different editors based on if the current resource is multiple. You can use this example as a baseline to achieve the desired behavior:
Basically you can modify the resources editor to create a cascading functionality or implement another custom solution.
Thanks for posting the sample. I have two questions about it:
Please check the answers of your questions below:
1) The script block is nested inside the template in order to be executed just after the template is executed - this way no additional code is required (like custom "edit" event handler).
2) The closing script blocks nested inside the template should be escaped as otherwise they will break the template.