Hi all,
I’ve having a little bit of trouble understanding the getCellMeta()
method and its return value. According to the Handsontable docs, the cellProperties
object should be returned for the given cell. However, the value that I’m seeing returned is a ColumnSettings
object. I can’t find much info about this object, other than it doesn’t seem to be the same as cellProperties
. Can anyone tell me if this is the expected behaviour?
Here’s an example of the code:
afterValidate (isValid, value, row, prop, source) {
const cellProperties = this.$refs.spreadsheet.table.getCellMeta(row, prop)
console.log(cellProperties) // ColumnSettings, not cellProperties object...
}
I’m using the vue-handsontable wrapper, if that changes anything.
Thanks!