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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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();