Hi, all.
We are using infragistics pdf exporting.
After that I exported the data of the grid to the PDF file I see that the boolean values show as the check symbols.
Is there an opportunity to transform the boolean values to custom representation(view).
Thanks in advance.
You might be able to modify the report in the CellExporting or CellExported events. What do you want to change the checkbox to?
It's not clear where it's possible to set transformation in the CellExporting or CellExported events.
If the value equals to true I want to display 1 otherwise 0.
Thanks
Thank you both for your help.
I think for that example to work on a boolean column, you will probably have to handle the BeginExport export and change the column so it doesn't use a CheckBox.The event will pass you a layout which is a clone of the grid's layout, so you can modify the layout and it will only affect the export, not the on-screen grid. You will probably need to change the Style on the checkbox column to Edit, so that it doesn't use a CheckBox. Then you can set the text using the example that Torrey linked.
If you're using the WinGridDocumentExporter, you can handle the event called CellExporting. The documentation has an example of this.