Printing Contents of a WPFToolkit DataGrid

Jan 19, 2009 at 11:19 PM
The CTP of the DataGrid gives me ALMOST everything I wanted in a control for displaying lots of data in LOB applications.

However, I'm stumped about how to print the contents of the grid.

If it's small, PrintVisual works like a champ.

But if it takes more than one screen, then all that prints is what's visible on the screen.

I've tried creating a flow document with the grid as an inline element and the same thing happens;  it appears as if the paginator causes the layout of the datagrid to be limited to what ever remains on the page that contains the DataGrid, and nothing ever flows to the next page.

I don't want to re-invent the datagrid using the FlowDocument->Table->TableRowGroup->TableRow->TableCell route.  I suspect that I will run into the inability to bind to the same datasource, etc.