A kendo TreeView like this ,
i want to do an ajax request, but i need get the ATTR "jsFunc" callback function after , how can i get it ?
$(
"#treeview"
).kendoTreeView({
dataSource: [
{ text:
"Furniture"
, expanded:
true
, items: [
{ text:
"Tables & Chairs"
,actionDirect:
"doSomething"
,jsFunc:
"func1"
},
{ text:
"Sofas"
,actionDirect:
"doSomething"
,jsFunc:
"func2"
},
{ text:
"Occasional Furniture"
,actionDirect:
"doSomething"
,jsFunc:
"func3"
}
] },
{ text:
"Decor"
, items: [
{ text:
"Bed Linen"
,actionDirect:
"doSomething"
,jsFunc:
"func4"
},
{ text:
"Curtains & Blinds"
,actionDirect:
"doSomething"
,jsFunc:
"func5"
},
{ text:
"Carpets"
,actionDirect:
"doSomething"
,jsFunc:
"func6"
}
] },
{ text:
"Storage"
,actionDirect:
"doSomething"
,jsFunc:
"func7"
}
],
select: onSelect,
dataUrlField:
"actionDirect"
,
});
i want to do an ajax request, but i need get the ATTR "jsFunc" callback function after , how can i get it ?