Years ago the xamdatagrid versions allow addnew to nested dataset.
But in recent versions, it's not working. How to addnew to the second level DataTable?
It's tricky when you can't do basic crud with the grid.
The sample project is below.
DataTableNest.rar
Thank you.
Hello Anakin,
The same topic is talked here: www.infragistics.com/.../xamdatagrid-add-new-record-to-hierarchial-parent-auto-populate-with-children
I attached a sample which uses CollectionViewSource whose source is an empty DataSet.
F122475-SampleApp1.zip
If I downgrade your project to 2020.1 and comment the xamDataGrid1_RecordExpanding and xamDataGrid1_RecordExpanded codes, it'll still work. That's why I found it a problem after 2020.2, but not before 2020.1.
So I believe the automatic expand $ addnew supported in older versions now become not-automatic in 2020.2. Can I ask why?
Anyway, it's good to have a solution. Thank you!