We would like UltraPrintPreviewDialog w/UltraGridPrintDocument to show the grid column headers when there are no rows in the grid. Currently print preview shows an empty gray area when the grid has no rows. I do not see any obvious property to set to get this behavior. Is this possible and if so, how?
In my experience, there is no way to print an UltraGrid with 0 rows. There is a condition in the BeginPrint method of the PrintController class that checks for at least 1 row and will end printing immediately if there aren't rows. (PrintController is part of the internals of UltraGrid printing, use reflector or view the source if your subscription includes it)
I have been successfull printing with 1 row, with nulls for all values. You may give that a try.