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

Dirty icon not displayed when row template is used

2 Answers 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yoni
Top achievements
Rank 1
Yoni asked on 12 Sep 2013, 05:28 AM
I have a kendo  grid which is having a row template specified. I have enabled 'incel' editing on it. It's displaying the dirty icon correctly  when a cell is edited only when I'm not using the row template.
jsFiddle  

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 Sep 2013, 10:47 AM
Hello Yoni,

Row templates can work only with popup editing, otherwise the Grid will not know where to put the editing fields (textboxes) in the custom row markup.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dave
Top achievements
Rank 1
Iron
answered on 22 Jun 2025, 02:28 AM

This post is 12 years old, however I struggled with this and found that the solution was to add the k-dirty-cell class to the td tag in the row-template (and the alt-row-template) like this:  "<td class='k-table-td k-dirty-cell'>. Otherwise, the grid will put the triangle in the upper left cell!

I hope someone finds this post useful!

Tags
Grid
Asked by
Yoni
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Dave
Top achievements
Rank 1
Iron
Share this question
or