Edit this page


Returns the data item to which the specified tile is bound.


tile jQuery |Element |String

A string, DOM element or jQuery object which represents the tile. A string is treated as a jQuery selector.


kendo.data.Node The model of the item that was passed as a parameter.

Example - get the data item of the first node

<div id="treemap"></div>
    dataSource: {
        data: [{
            name: "foo",
            value: 1,
            color: "red",
            id: 1
    valueField: "value",
    textField: "name",
    colorField: "color"

var treemap = $("#treemap").getKendoTreeMap();
var dataItem = treemap.dataItem(".k-treemap-tile:first");
console.log(dataItem.name); // displays "foo"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article