Hi,
I'm having a problem and I just can't figure out what I'm doing wrong.
Basically .expand(".k-item") is not expanding any item. I'm using the latest internal version (2013.3.1309).
I'm not using the latest published version (2013.3.1119) since with this one I couldnt expand any item at all.
(i even created a jsbin with this problem of not expanding any item, although i'm not sure if it has anything to do with this later problem)
The code for the expand method problem is right below.
Thanks in advance,
Luciano / Fabricio
I'm having a problem and I just can't figure out what I'm doing wrong.
Basically .expand(".k-item") is not expanding any item. I'm using the latest internal version (2013.3.1309).
I'm not using the latest published version (2013.3.1119) since with this one I couldnt expand any item at all.
(i even created a jsbin with this problem of not expanding any item, although i'm not sure if it has anything to do with this later problem)
The code for the expand method problem is right below.
Thanks in advance,
Luciano / Fabricio
var treeDataSource = new kendo.data.HierarchicalDataSource({
transport: {
read: {
url: settings.GetTreeDataAction,
dataType: 'json',
type: 'POST'
}
},
schema: {
data: "Model.RootItems",
model: {
children: "ChildItems",
hasChildren: "ChildItems.length > 0"
}
}
});
var treeView = $("#treeview").kendoTreeView({
dataSource: treeDataSource,
dataTextField: "Item.Nome",
loadOnDemand: false
}).data("kendoTreeView");
treeView.expand(".k-item");