This page shows how to use Handsontable with various data sources:
Please take note that Handsontable will change the original data source. More about this here: Understanding binding as reference.
When you use object data binding, Handsontable needs to know the data structure to create when you add a new row.
If your data source contains at least one row, Handsontable will figure out the data structure based on the first row.
In case you want to start with an empty data source, you will need to provide the dataSchema option that contains the data structure for any new row added to the grid.
The below example shows custom data schema with an empty data source:
For more examples, head back to the main page.
Handsontable © 2012 Marcin Warpechowski and contributors.
Code and documentation
licensed under the The MIT License.