Include Grid in edit template

1 posts, 0 answers
  1. Guillaume
    Guillaume avatar
    6 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2012 Link to this post

    Hi, my grid has a costum popup edit template where I want to be able to manage a list of subitems. I thought I would use another grid inside the edit tempate but I get an error "Invalid Template". Is it supported to have another grid inside an edit template of a parent grid? If so could I get an example of how to acheive it?

    My template looks like this:

    <script id="popup_editor" type="text/x-kendo-template">
       <div class="k-edit-label">
        <label for="Title">Title</label>
                <input type="text" class="k-input k-textbox" name="Title" data-bind="value:Title">

       <div class="k-edit-label">
        <label for="ExpiryDate">Expiry Date</label>
       <input type="text"
        data-role="datepicker" />

                <div id="subitemsGrid"></div>
                $("#subitemsGrid").kendoGrid(##removed code to get list of subitems in grid##);

Back to Top