Hi there,
i have a VUE app where a hot with a custom columnrenderer is used.
settings: {
columns: [
{ type: ‘text’, title: ‘VALUE_ACT’, data: ‘valueAct’, renderer: this.VALUE_ACTRenderer },
]
}
The render function:
VALUE_ACTRenderer (instance, td, row, col, prop, value, cellProperties) {
if (value === 123) {
arguments[5] = ‘Fail’
Handsontable.renderers.TextRenderer.apply(this, arguments)
} else {
Handsontable.renderers.TextRenderer.apply(this, arguments)
}
}
When the page + table are completely loaded, there is a print function availaible which uses the
this.$refs.hotTable.hotInstance.toHTML() function. Sadly the “updated” rendered cells getting there initial values (i.e. 123 instead of Fail)
PS: if there are filters / sorting used in the table before, these changes are also visible in the HTML !
Any ideas how to send the actual content to the HTML() function?
Thanks in advance!