Hi there,
I'm currently evaluating Kendo UI, and I've been unsuccessfully trying to bind the "dataBound" event on a TreeMap to the function, "dataBund". The binding seems to take place, but the event does not seem to fire.
I have a JSFiddle demonstrating this at http://jsfiddle.net/johncdtex/frm5rgq7/45/
Kind Regard,
John C
I'm currently evaluating Kendo UI, and I've been unsuccessfully trying to bind the "dataBound" event on a TreeMap to the function, "dataBund". The binding seems to take place, but the event does not seem to fire.
$().ready(
function
() {
var
ds = [/*snip*/];
$(
"#treemap"
).kendoTreeMap({
dataSource: {
data: ds,
schema: {
model: {
children:
"items"
}
}
},
valueField:
"value"
,
textField:
"name"
});
function
dataBund(e) {
console.log(
"DataBound"
);
}
var
treemap = $(
"#treemap"
).getKendoTreeMap();
treemap.bind(
"dataBound"
, dataBund);
});
I have a JSFiddle demonstrating this at http://jsfiddle.net/johncdtex/frm5rgq7/45/
Kind Regard,
John C