"dataBind" not binding

2 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Oct 2014

    Posted 22 Oct 2014 Link to this post

    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.

    $().ready(function () {
        var ds = [/*snip*/];
            dataSource: {
                data: ds,
                schema: {
                    model: {
                        children: "items"
            valueField: "value",
            textField: "name"
        function dataBund(e) {
        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
  2. Hristo Germanov
    Hristo Germanov avatar
    703 posts

    Posted 22 Oct 2014 Link to this post

    Hello John,

    You are right. This example from documentation doesn't work. The correct one is: http://dojo.telerik.com/@germanov/abIZU/2

    I will update dataBound api reference help topic.

    I have updated your telerik points.

    Hristo Germanov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top