You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to warn user that his data is not valid, using the results of my backend (like a reference that doesn't exist).
So I am trying to use the tableHook like this :
tableHook={(data, addError) => {
// For the moment, I try to add error on the first row
addError(0, 'reference', {
message: "this ref doesn't exist",
level: 'error',
});
// Transformation
return [...data];
}}
The readme says "tableHook - runs at the start and on any change. Runs on all rows. Very expensive, but can change rows that depend on other rows."
But I have to edit the cell to see the error.. Am I using it wrong ?
Thanks
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to warn user that his data is not valid, using the results of my backend (like a reference that doesn't exist).
So I am trying to use the tableHook like this :
and I open RSI with this prop :
The readme says "tableHook - runs at the start and on any change. Runs on all rows. Very expensive, but can change rows that depend on other rows."
But I have to edit the cell to see the error.. Am I using it wrong ?
Thanks
The text was updated successfully, but these errors were encountered: