Hi, if i click "new" button to add row and for that row i want to validate if some field has value or not or any other validation I have found this issue #475 . And by that logic row will not be saved but it will leave edit mode. Is it possible to stay in edit mode for that row?
Hi,
In your case, I suggest you manage added rows using聽the controlled mode. I mean update the聽addedRows property of the聽EditingState聽plugin manually using the聽onAddedRowsChange聽property.
You can use this sample as a starting point. Please refer to comments in the code.
Thank you so much @SergeyAlexeev it works.
One more question @SergeyAlexeev is the logic same for edit button as well, cause I can't make it work for some reason?
Yes, but use the editingRowIds and onEditingRowIdsChange props instead. See the updated demo as well.
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.