Configuration

Use the following configuration options to bind the Handsontable for WireBootstrap component.

Properties

NameDescription

colHeaders

Boolean. When true, automatically sets the column headers using the column names in the DataTable created from the configuration in the data property.

data

Set the data to be displayed in the component.

Handsontable

The pass-through for the native Handsontable configuration. See Handsontable for an example.

Handsontable

The Handsontable configuration property is a pass-through for Handsontable's own configuration. Below is the list of default values set by Handsontable for WireBootstrap.

    Handsontable: {
        data: [],
        height: 320,
        filters: true,
        dropdownMenu: true,
        rowHeaders: true,
        colHeaders: true,
        contextMenu: true,
        licenseKey: "non-commercial-and-evaluation"
    }

To override any of the default or set any other native Handsontable configuration property, set the Handsontable property.

new wire.handsontable().render("#table", {
    Handsontable: {
      dropdownMenu: false,
      multiColumnSorting: true,
      manualRowMove: true,        
    }
});

Last updated