How to have Grouped Row display a full subgrid vs just rows

Posted by: david.mcdonald on 2 April 2020, 2:13 am EST

    • Post Options:
    • Link

    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

  • Posted 5 April 2020, 6:21 pm EST

    Hi Dave,

    I have responded your similar query over the following thread.

    https://www.grapecity.com/forums/wpf-edition/how-to-have-grouped-row-di_1

    Please follow the same thread for any further questions.

    Regards,

    Basant

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels