I'm using kendoTreeview with drag options, all works fine. The draggable content is (by default) the dragged item of the treeview, which is fine as well. There is a class (font awesome char) that is defined on each item I would like to remove in the dragged content when the drag starts. The solution I found so far in this forum was on :
I've tried this: here and it works well but its only working on initialisation of the treeview. So I adapted to it to my case because I need to change the content change at runtime (treeview.change):
).templates.dragClue = kendo.template(
"<div class='k-header k-drag-clue'><span class='k-icon k-drag-status'/>drag me!</div>"
This won't work, looks like it will be ignored (dragged item content still visible). But this is anyway all too much. I don't want to rebuild the whole item text that is dragged. I would like to remove only a single sign in the dragged item content (represented by a fa-class from awesome font, jQuery available). So I wonder how to do this or how to access the dragged content.