I have a C# application that uses a xamDataPresenter with a custom CellValuePresenter style created for me by Infragistics.
When I print the grid, it is not applying the style correctly.
One workaround I found was to turn off the CellValuePresenter style when printing by creating a TabularReportView, setting ExcludeCellValuePresenterStyles to true, and setting the DataPresenter's ReportView to the TabularReportView.
This turns off the style for every column in the grid, however,
Is there a way I can turn the style off for a specific column only?
Hello Keith,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically, before printing, I set the CellValuePresenterStyle of some of the Fields to an empty CellValuePresenter Style and after printing I clear the value. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
I modified the sample I sent you, so now it has different approach for achieving the functionality you want. Basically I handled the PaginationStarted event of the EmbeddedVisualReportSection object and in the handler I change the grid that will be printed. since a copy of the display grid is made internally.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.