Plugin allows binding the table rows with their headers.
If the plugin is enabled, the table row headers will "stick" to the rows, when they are hidden/moved. Basically, if
at the initialization row 0 has a header titled "A", it will have it no matter what you do with the table.
Example
const container = document.getElementById('example');
const hot = new Handsontable(container, {
date: getData(),
// enable plugin
bindRowsWithHeaders: true
});
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 returnstrue
than theBindRowsWithHeaders#enablePlugin
method is called.Returns: {Boolean}
-
updatePlugin()
-
Updates the plugin state. This method is executed when
Core#updateSettings
is invoked.