You can add new records to DetailsViewDataGrid by adding items to underlying collection like you are doing for SfDataGrid.
In the below use case, new records will be added in selected DetailsViewDataGrid and SelectedItem record’s DetailsViewDataGrid.
In the below code snippet, Button bound to command in ViewModel to add new records to SelectedItem’s DetailsViewDataGrid.
Figure 1: Before adding new record in DetailsViewDataGrid
Figure 2: Added new data records in DetailsViewDataGrid
This page will automatically be redirected to the sign-in page in 10 seconds.