I have followed all the examples but nothing is overriding the default theme. I even tried to change it in after everything is loaded inside my done routine.
function createTreeView(dataURL,divName) {
$.ajax({
type: 'GET',
url: dataURL,
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function (data) {},
error: function (request, error) {
console.log(error);
}
}).done(function(data) {
ds = new kendo.data.HierarchicalDataSource({
data: data,
schema: {
model: {
id: "taskid",
children: "items",
hasChildren: "haschildren"
}
}
});
$("#"+divName).kendoTreeView({
dataSource: ds,
dataTextField: "taskname",
dataUrlField: "linkto"
});
$('.k-treeview').css('background', 'lightblue');
})// end done
}