HeaderTooltips

Allows to add a tooltip to the table headers.

Available options:

  • the rows property defines if tooltips should be added to row headers,
  • the columns property defines if tooltips should be added to column headers,
  • the onlyTrimmed property defines if tooltips should be added only to headers, which content is trimmed by the header itself (the content being wider then the header).
Deprecated
This plugin is deprecated and will be removed in the next major release.
Example
const container = document.getElementById('example');
const hot = new Handsontable(container, {
  data: getData(),
  // enable and configure header tooltips
  headerTooltips: {
    rows: true,
    columns: true,
    onlyTrimmed: false
  }
});

Classes

HeaderTooltips

Methods

destroy()

Destroys the plugin instance.

disablePlugin()

Disables the plugin functionality for this Handsontable instance.

enablePlugin()

Enables the plugin functionality for this Handsontable instance.

isEnabled(){boolean}

Checks if the plugin is enabled in the handsontable settings. This method is executed in Hooks#beforeInit
hook and if it returns true than the HeaderTooltips#enablePlugin method is called.

Returns: {boolean}
Class: HeaderTooltips