AreHeadersVisible: Boolean
The AreHeadersVisible property indicates whether to show headers for item groups.
Use JSON or the setAreHeadersVisible method to set the property value, and the getAreHeadersVisible method to get the property value.
If this property is true the headers are visible, otherwise they are not.
By default this property is set to true.
To execute this example, the page must contain the TreeMap component named treeMap (see Example of Creating the TreeMap Component). Hide headers of item groups, disable automatic calculation of item text color:
// Hide headers of item groups treeMap.setAreHeadersVisible(false); // Disable automatic calculation of item color text treeMap.setLabelAutoColor(false); // Refresh component treeMap.refresh();
After executing the example headers of item groups are hidden, and automatic calculation of item text color is disabled.
See also: