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

Need full custom editor template for Scheduler editor

2 Answers 159 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 1
Phil asked on 22 Apr 2015, 06:27 PM

I am trying to utilize a Kendo UI scheduler in an Angular app.  After much frustration and realizing that Kendo UI does not support angular templates properly for the scheduler editor, I'm trying to re-implement the "standard" editor as a Kendo UI template.  This is not my preferred method (I'd rather it work from an Angular template), but from what I've read, I don't have a choice at this time.

I'm using the latest Kendo UI Pro v. 2015.1.408

I need the full template layout and behavior including timezone (not needed right now, but useful), the full editor for repeating tasks, and the resource editor.  I will be adding custom fields to it in certain circumstances.

I found a template for version 2013.3.1119 but this is way out of date, I would think...

http://www.telerik.com/support/code-library/custom-editor

Thanks!

2 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 27 Apr 2015, 07:17 AM
Hello Phil,

The linked example in our CodeLibrary is not outdated - you can use this approach inside your angular app:

function MyCtrl($scope) {
  $scope.schedulerOptions = {
    editable: {
      template: kendo.template($("#CustomEditorTemplate").html()),
    },
<script type="text/x-kendo-template" id="CustomEditorTemplate">
     <div class="k-edit-label">
        <label for="Title">Title</label>
    </div>
    <div data-container-for="title" class="k-edit-field">
        <input class="k-textbox" data-bind="value:title" name="Title" type="text" required="required" />
    </div>

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Phil
Top achievements
Rank 1
answered on 27 Apr 2015, 11:31 AM
Alright, thank you.  I looked at the submission date of 2013, I believe, and wasn't sure if it was still applicable.
Tags
Scheduler
Asked by
Phil
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Phil
Top achievements
Rank 1
Share this question
or