You need to sign in to do that
Don't have an account?
Peter Bölke
Aura Datatable highlight invalid values
Hi there,
how can i check for invalid length on a datatable with inline editing in an Aura Component? I need to prevent numbers with more than 5 digits and in case this check fails i like to highlight the cell where the error occurs.
regards
Peter
how can i check for invalid length on a datatable with inline editing in an Aura Component? I need to prevent numbers with more than 5 digits and in case this check fails i like to highlight the cell where the error occurs.
regards
Peter
You can use "oncellchange" in datatable and use it in js file to show the error.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
sadly the event return no table, instead it return the changed values as dict or map. Actually what most commonly stored in v.draftValues.
regards
Peter