Print Preview not printing hierarchical rows

Hey there,

I have a GridGroupingControl that I am displaying a listing of departments with a sub-collection of items for each department. I then create a GridPrintDocument and load that into a PrintPreviewDialog. Everything looks great so far. But when I go to print from the dialog the rows for the item information are missing. There is a space for them but nothing else.

Any suggestions?

Here is my code.

GridPrintDocument pd = new GridPrintDocument(grid.TableControl, true);
PrintPreviewDialog ppv = new PrintPreviewDialog();
ppv.Document = pd;
pd.DefaultPageSettings.Landscape = true;
ppv.UseAntiAlias = true;
ppv.ShowDialog();


TIA,

Brian

1 Reply

JJ Jisha Joy Syncfusion Team June 15, 2010 08:47 AM UTC

Hi Brian,

Thank you for using Syncfusion products.

I have tested the issue in the following sample. It is working fine. All the rows including child rows is getting printed. See the sample attached.

Regards,
Jisha



CS_f8f897bc.zip

Loader.
Up arrow icon