Hi,
My view loads treemap data dynamically, if you click on treemap tile it nevagate to URL which working perfectly fine. but There are custom filter option on page which will rebind treemap with new data.
Problem from here, So i apply filters (rebind treemap data) and click on tile of treemap it works and open popup 2 times, say suppose if i applied filter 5 times (rebind dynamic data 5 times with treemap) and i click on tile, it execute click event 5 times.
Page with treemap & custom filter option, when i change filter option and click on apply filter will again build tree with new data.
createTreeMap();
$(document).bind("kendo:skinChange", createTreeMap);
function createTreeMap() {
$("#treeMap").kendoTreeMap({
dataSource: {
transport: {
read: {
url: buildUrl,
dataType: "json"
}
},
schema: {
model: {
parameterid: "ParameterMID",
hasChildren: "HasChild",
children: "ParameterChilds"
}
}
},
textField: "ParameterName",
valueField: "ParameterWeight",.....and more
}
I hope you understand what i mean.