If you bind a TreeMap to a data source with a hierarchical structure, you can enable drill-down and drill-up functionality:
In this demo, you can click/tap a group of TreeMap tiles to drill down. Once you go down a level, navigation links appear at the top of the TreeMap. Use them to drill back up. To implement this technique, follow the steps below:
Set the interactWithGroup property to
true to force the control to hot-track entire groups instead of individual items.
Call the node.drillDown method in the TreeMap onClick handler.
To enable drill-up functionality, generate links in the onDrill handler. Call the node.drillDown method on link clicks. Inspect the code below for implementation details.