If set via setCellMeta "invalid" to true, after scrolling cells loosing it

Tags: #<Tag:0x00007f51c480ed60> #<Tag:0x00007f51c480e630>

Hi to all.
I’m using react-hook-form to validate table. To highlight invalid cells I’m using
setCellMeta(row, column, 'valid', false)
It works fine. But if I scroll the table invalid rows loosing highlighting. I see that cell looses error class name. How can I prevent such behavior and keep invalid cells highlighted while and after scrolling?

Hi @alexx.globenko

Thank you for contacting us. Can you please share a code demo where the issue can be replicated? Please also describe the steps to reproduce it.

Hi @adrian.szymanski
Thank you for response. It looks like ‘invalid’ meta property is not default, so because of it such meta data resets after each render. I resolve the issue by set className property.

Hi @alexx.globenko

Thank you for the update. I’m glad that you were able to find the solution. I’ll close this topic in that case.