I’m trying to retrieve the data from the Handsontable using the “GetSourceData” function so I can save the results in the database. However, when I do so, the results include blank/null rows that were not filled out. How do I ignore those.
For example, if I have basic struture as shown below which defaults to 5 rows and the user only fills out row 1, how do I ignore the remaining rows when using the GetDataSource function? Or, should I pull the data a different way.
const vHOT = new Handsontable(DivContainer, {
rowHeaders: true,
colHeaders: true,
startCols: 6,
startRows: 5,
minRows: 5,
minSpareRows: 1,
height: 'auto',
licenseKey: 'non-commercial-and-evaluation'
});