Handsontable
Docs HomeProduct SiteSupport
  • Handsontable for WireBootstrap
  • Installation
  • Configuration
  • Data Binding
Powered by GitBook
On this page

Data Binding

PreviousConfiguration

Last updated 3 years ago

Handsontable for WireBootstrap does not use a which means it does not expect any specific set of fields in data bound to the component.

To bind the component to data, set the configuration's data property.

const rows = [
    { product: "Skates", sales: 1655},
    { product: "Bikes", sales: 1883 }
]

const table = new wire.handsontable().render("#table", {
    data: rows
});
datamap