Set readonly on cells only on init

Tags: #<Tag:0x00007efc6fd59130>

I fetch a db and display the content in a handsontable. I set the cell that are not empty as read only = true and the others read only = false so that we can’t modify existing data but only add new ones. For this i use a custom renderer that set the readonly properties depending on the content of the cell and it works.
My problem is that when i update an empty cell it becomes readonly because the cell is re rendered.
Is there any function that is called only on initiation and not every time the handsontable is updated.
Thank you for your responses !

Hi @ninjea23

Can you add the logic that you use to this demo https://jsfiddle.net/w3n0ocvh/ ?

I guess that we can close this topic as there’s no reply for more than a week.