Hi,
I’m working on a project in which I would need to just validate the data after clicking a specific button. I’ve created the column validators as below (just an example):
hotSettings: Handsontable.GridSettings = {
...
columns: [
{data: 'status', renderer: "html"},
{data: 'testCode'},
{data: 'name'},
{
data: 'preferredCode',
validator: (value, callback) => {
if (value === '') {
callback(false)
} else {
callback(true)
}
}
}
]
...
}
Those validators are invoked after any change is made in the grid. Is it possible to avoid these validations and just invoke the validators after clicking a button?
I could do it using the validateCells() function, however, I would need to avoid the native validation after the change.
- Handsontable version: 12.3.1
- Angular 14