Use template with popup edit mode and tag helpers

2 posts, 0 answers
  1. Nicolas
    Nicolas avatar
    1 posts
    Member since:
    Mar 2020

    Posted 03 Jun 2020 Link to this post

    Hi all,

    I don't know how to use template with the popup edit mode and the tag helpers.

    I did not found any help in the documentation.

    Is it possible ?

    <kendo-grid>

        <editable mode="popup" template="???" />

    </kendo-grid>

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1236 posts

    Posted 08 Jun 2020 Link to this post

    Hello Nicolas,

    I would suggest you to use the templateId option available in the Grid Editable tag helper:

    <editable mode="popup" templateId="test"/>

    The templateId should point to the ID of an HTML template element, which holds the template definition:

    <script type="text/kendo-template" id="test">
      <input type="text" name="propertyName"/>
    </script>

    Regards,
    Veselin Tsvetanov
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top