I'm using the material-table in a material-ui Stepper and the user tends to click on "next" button even though the table is still in edit mode. This results in a loss of data.
Can I somehow access the table information to check if the table/row is still in edit mode when the user clicks the "next" button?
tableRef.current.state.showAddRow
is false. Otherwise, the user might create a new row, fills out all the details, clicks next without saving and the data is gone. – Sheepshank