Need full custom editor template for Scheduler editor

3 posts, 0 answers
  1. Phil
    Phil avatar
    15 posts
    Member since:
    Oct 2012

    Posted 22 Apr 2015 Link to this post

    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. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2196 posts

    Posted 27 Apr 2015 Link to this post

    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!
     
  3. Phil
    Phil avatar
    15 posts
    Member since:
    Oct 2012

    Posted 27 Apr 2015 in reply to Vladimir Iliev Link to this post

    Alright, thank you.  I looked at the submission date of 2013, I believe, and wasn't sure if it was still applicable.
Back to Top