Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
I have a SfDataGrid bind to a SfDataPager.
for example in a page of SfDataPager exist five rows , and there is five pages.
SfDataGride show five rows, but when I printing the SfDataGrid, it print total rows(25 rows). I want to print just current page (5 rows).
this is my code
SfDataGrid DataGrid = (SfDataGrid)parameter;
DataGrid.PrintSettings = new Syncfusion.UI.Xaml.Grid.PrintSettings();
DataGrid.PrintSettings.PrintPageHeaderHeight = 50;
DataGrid.PrintSettings.AllowRepeatHeaders = true;
DataGrid.PrintSettings.PrintPageHeaderTemplate = Application.Current.Resources["WarehouseResource"] as DataTemplate;
DataGrid.ShowPrintPreview();