Example of Selection & Highlight in React TreeMap Component


This sample depicts the details of goods imported by Japan. Selection and highlight options have been enabled in this sample.

More Details...


In this example, you can see the modes available for performing highlight and selection in TreeMap. It can be either enabled or disabled.

Injecting Module

TreeMap component features are segregated into individual feature-wise modules. To use highlight and selection, inject the Selection module using the TreeMap.Inject(TreeMapSelection)inject the Highlight module using the TreeMap.Inject(TreeMapHighlight) method.