In the SfDataGrid, it is not possible to print the group of rows, by default. However, it can be achieved by deriving new class from the GridPrintManager class.
In the derived CustomPrintManager class, you can override the GetSourceListForPrinting method. Return the Selecteditems by using Selecteditems.ToList as shown in following code example.
You can assign the instance of that customized CustomPrintManager class to DataGrid.PrintSettings.PrintManagerBase property as shown in the following code example.
This page will automatically be redirected to the sign-in page in 10 seconds.