Hi, I have sdatagrid with stackedheader my columns has some styles to change its value foreground.
But when a Set the properties
AllowPrintStyles = true,
AllowPrintByDrawing = false,
CanPrintStackedHeaders = true,
while printing i´m getting the error bellow...
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.UI.Xaml.Grid.GridPrintManager.GetPrintHeaderCell(String mappingName)
at Syncfusion.UI.Xaml.Grid.PrintManagerBase.AddStackedHeaderRowToPanel(PrintPagePanel panel, RowInfo rowinfo)
at Syncfusion.UI.Xaml.Grid.PrintManagerBase.AddRowToPrintPagePanel(PrintPagePanel panel, RowInfo rowInfo, Int32 pageIndex)
at Syncfusion.UI.Xaml.Grid.GridPrintManager.AddRowToPrintPagePanel(PrintPagePanel panel, RowInfo rowInfo, Int32 pageIndex)
at Syncfusion.UI.Xaml.Grid.PrintManagerBase.CreatePage(Int32 pageIndex, PrintPageControl pageControl)
at Syncfusion.UI.Xaml.Grid.PrintManagerBase.CreatePage(Int32 pageIndex)
at Syncfusion.UI.Xaml.Grid.PrintManagerBase.Print(PrintDialog printDialog, Nullable`1 canPrint)
at Syncfusion.UI.Xaml.Grid.PrintManagerBase.Print()
at Syncfusion.UI.Xaml.Grid.SfDataGrid.Print()
at College.Wpf.Classrooms.Views.FinalistMiniAgendaPage.BtnPrint(Object sender, RoutedEventArgs e)