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!
I have investigated the issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 272045. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
Please let me know if you need more information.