Posted 3 February 2025, 5:06 am EST
Hi support team,
I’m currently using SpreadJS v17. I’ve reproduced this problem with the dropdown picker in TableSheet.
https://jscodemine.mescius.io/sample/_SYp831kDkuR8cGy3jr9VQ/
I added a custom validator for cell col1-row1 (B2). After that, when I select an option from that dropdown, the validation is triggered. However, when I press Ctrl-Z (undo), the validator disappears. I’ve logged information about that validator, but found nothing.
Since I need to add a different validator for each cell, I must set the validator for each cell again after calling setDataView.