I've tried the approach used for the TreeView component using "imageUrl" but this is not working.
var kendoTreeListData = new kendo.data.TreeListDataSource({
data: ContextSelector.data.tree
});
ContextSelector.tag.kendoTreeList({
columns: [{
field: "Text",
title: "ConnectTo",
attributes: {
"class": "name-cell",
},
}, {
field: "TimeBombWarning",
title: " ",
attributes: {
"class": "name-cell",
},
}],
dataSource: kendoTreeListData,
editable: true,
selectable: true
});
kendoTreeListData.read();
In each node in my dataSource, I have set "imageUrl" to "http://localhost:2431/test/Content/Images/PageIcons/FavOff.png" but this is not working.
Is there a way to display an image in a TreeList node ?
What I'm trying to achieve with a TreeList : TreeView