Posted 2 April 2020, 2:13 am EST - Updated 3 October 2022, 11:57 pm EST
Hello,
I have a dataset over 500,000 rows. For performance reasons I only load 100 rows at a time in my DataGrid. When I group on a column, I retrieve from the database one single row for each Group that will be created. When I click the “+” to expand the rows, I would like a full subgrid to appear with all the related rows for that group.
Do you have some code that shows how to remove the single item row and insert a subgrid? Do I have to create a template row? Please see the attached image file for a further description.
Please note the solution to this needs to be in C# and not XAML code. Thanks for your assistance. I appreciate it.
Dave