Hi David,
Thank you for contact Syncfusion support.
Query 1:
You can get the datagrid view items by using View.Records. Please find the code snippet below,
//To get view records
var viewRecords = this.dataGrid.View.Records; |
Query 2:
Bydefault our SfDataGrid Print Manager prints records which is in view only. You can get the Print document using below the code snippet,
var printDocument = this.dataGrid.GetPrintDocument();
var printDialog = new PrintDialog();
if ((bool)printDialog.ShowDialog())
printDialog.PrintDocument(printDocument.DocumentPaginator, "Printing"); |
Sample:
Please let us know if you have any query.
Regards,
Gobikrishnan