I have a beforeChange function where i am validating values and changing cell background and adding an error message to title attribute if value is invalid. I am setting the title using setAttrubute() method on cell. when I add a new row at the end getCell() returning null. It works fine if I am adding a new in between.
const hot = hotRef.current.hotInstance
const cell = hot.getCell(row, hot.propToCol(prop));
but cell is returning null for text fields but working fine for number fields