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?
Ah, okay. So it looks like the ColumnSettings object I was referring to is the same as cellProperties. I didn’t realize that the commonly-referenced properties (className, readOnly, type, etc) are not directly on the object returned from getCellMeta(), but rather up its object prototype chain.
My goal was to add some additional (non-standard) metadata to the cellProperties object which could then be used in a custom renderer function, which I’ve got working via the setCellMeta() method.