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

Using ClientRowTemplate causes popup editing to not work

1 Answer 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David A.
Top achievements
Rank 1
David A. asked on 05 Jan 2013, 03:12 AM
Hi,

I have a grid that is using ClientRowTemplate and when I add a new record the popup editor does not display, it just adds a blank uneditable record in the grid.  Is it possible to use ClientRowTemplate and still us popup editing/adding?

Thank you,
David A.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 08 Jan 2013, 07:39 PM
Hi David,

Thank you for your question.
In order to make your row editable, you'll have to manually add the data-uid attribute to the template so that the Grid can retrieve the dataItem for the row. It should look like this:

<tr data-uid='#=uid#'>

Let me know whether this helps or if I can assist you further.
Don't hesitate to contact us again.
Greetings,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
David A.
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or