Dear all,
When Exporting ultragrid to PDF using ultraGridDocumentExporter, how to change the columns or cells value? e.g. 0 becomes emply space in the cell of a specified column name.
Modifying the layout will not help in this case, since cells and rows are not in the layout.
What you can do here is handle the CellExporting event of the UltraGridDocumentExporter. The event args give you the CellValue, which is the actual value of the cell being exported and also an ExportValue, which is the value (string, really) that will be exported.
The ExportValue is settable. So you could, for example, check the CellValue and if it's 0, set the ExportValue to an empty string.