Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1336
Column Data not appearing in Report
posted

Hi,

Please find attached a project demonstrating an issue we're having with printing data on a XamDataGrid.

  • The sample grid is bound to an ObservableCollection of RowData (which simply exposes 2 strings).
  • The first Field shows the 'Name' string.
  • The second Field has had its CellValuePresenter overridden to plug in a custom control.
  • The custom control binds to the cells content and shapes the data in the way it wants (in this case splitting the content string and rendering it via a list).

All works fine 'on grid' - the 'Items' column is populated with a list of all the 'items' for that row.

When you 'Print Preview' the grid however, the data in the 'Items' column is lost - the green background is retained but the list of values is no longer displayed.

I'd expect whatever the grid is displaying on screen, to also be reflected in the printed output.

 

Regards,

David Dansey,

Pentana Ltd.

PrintGridColumn.zip
  • 28407
    posted

    HI,

     I replicated your issue and will bring this to the attention of the developers.

     I will create a private case for this issue and email with the details.

     Sincerely,
     Matt
     Developer Support Engineer