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

Use template with popup edit mode and tag helpers

1 Answer 250 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 03 Jun 2020, 12:10 PM

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>

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 08 Jun 2020, 10:09 AM

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.
Tags
Grid
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or