I am using reactive form, and I have a custom add button to add grid record.
I want to save the current row before adding new record. When I call endedit, and AddRecord, the new records do not work. No new records appear.
I need to add timeout like below to work. Do you have a better solution?