Validate a specific row or cell

Tags: #<Tag:0x00007f8b1d5bfa40>

Hi, is there a way to validate only a specific row or cell instead of validate all cells in the table with hot.validateCells() ? I have a huge table with +5k rows so it takes to much time to validate all cells. I would like to validate only one row because I use “autosave” so after a cell is changed I update the entier row in database, but i need to know if all cells in this row are valid.

Thank you in advance.

No way to achieve that?

Hi @even-mind

sorry for keeping you waiting. We had an Easter break.

In Handsontable a validation is run for each cell in the table and there is no possibility to call it for a single cell yet.

I believe that we will be able to add a single-cell validation after we finish the single-cell renderer (that doesn’t have ETA yet) as validation is bounded to rendering.

Thank you for response.

You’re welcome @even-mind

I believe that this issue https://github.com/handsontable/handsontable/issues/4985 is yours. I will copy this forum post for other users that may have the same question.