I want to ask the question about template for command button in TreeList. It seems it it ignored in case of TreeList, although it work fine in Grid (see attached picture).
columns: [
{ field: "groupName", title: "Group", width: 100 },
{ field: "vesselName", title: "Vessel", width: 100 },
{
command: [
{ name: "destroy", text: " ", template: "<
a
class
=
'k-button k-grid-delete'
><
span
class
=
'glyphicon glyphicon-remove'
></
span
></
a
>" }
],
title: "Action",
width: "15px"
}
],
What I want to achieve by that template is just use another icon from bootstrap styles. Currently to achieve this (as workaround) I have to manipulate with DOM via jQuery, what of course not nice.
Does it not supported by design, or there is mistake in my code?