I have the following schema for my TreeView:
var schema = {
model: {
id: "toolId",
children: 'items',
fields: {
name: { type: 'string' },
description: { type: 'string' }
}
}
};
And here is the TreeView definition:
$("#toolSelect_toolTree").kendoTreeView({
loadOnDemand: false,
animation: { expand: { effects: "expandVertical", duration: 100 } },
checkboxes: {
checkChildren: true
},
dataSource: {
data: [],
schema: toolSelect_funcs.schema
},
dataTextField: 'name',
dataValueField: 'toolId'
});
How do I set the title attribute (i.e. tool tip text) on each tree node so it has the value of the description field?
I've done it with the Kendo MVC using LinkHtmlAttributes. Is there something similar in Kendo UI for jQuery?
Thanks, Gregg