You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
How to show Row Header and Column Header on Print Preview Document?
I am using below code but it does not display headers during print preview;
var sheet = grid.CurrentWorksheet;
using (var session = sheet.CreatePrintSession())
{
using (PrintPreviewDialog printPreviewDialog = new PrintPreviewDialog())
{
printPreviewDialog.Document = session.PrintDocument;
printPreviewDialog.SetBounds(200, 200, 1024, 768);
printPreviewDialog.PrintPreviewControl.Zoom = 1d;
printPreviewDialog.ShowDialog(this);
}
}
Offline
Current version doesn't support print row and column header, a solution is to insert a first row and column and set some styles to make them like headers and print.
Offline