valueFieldString(default: "value")

The data item field which contains the tile value.

Example

<div id="treemap"></div>
<script>
$("#treemap").kendoTreeMap({
    dataSource: [
        { title: "Sales", revenue: 120000 },
        { title: "Marketing", revenue: 80000 },
        { title: "Development", revenue: 95000 }
    ],
    valueField: "revenue",
    textField: "title"
});
</script>
In this article
valueField
Not finding the help you need?
Contact Support