Posted 26 February 2020, 3:47 am EST
I have data structure with lots of nested classes. I use master-details grids. To display it in masted grid I aggregate data from nested arrays and display summary on top.
Master grid [(itemsSource)]=“samples” which is array of type Sample. Sample has property Sample.samplePackage which in turn has array Sample.samplePackage.packages of type Package. Package has property name.
So, in master in column “Analysis” I display all Package.name for all packages from Sample.samplePackage.packages like “Package1, Package2, and so on”
We want to be able to copy all packages in one copy-paste operation in Master grid. Basically it means I need to copy entire underlying data-structure.
For the example I need to copy whole array Sample.samplePackage.packages into other new or existing Sample.
Any advice how to do it?