Validation based on different column when adding new row
TineFr opened this issue · comments
Hello @komarovalexander
For a table with the columns 'lowerLimit' and 'upperLimit', I would like to implement a validation that checks whether
the value in the upperLimit column is not smaller or equal to the value in the lowerLimit column.
I have the following validation:
This works fine when editing an existing row, but when adding a new row, rowData is undefined.
Is there any way to implement this validation?
Hi @TineFr
the issue has been fixed in 7.8.4
demo:
https://stackblitz.com/edit/table-add-row-ts-kqjkze?file=Demo.tsx
Thank you for your quick response @komarovalexander !