DataTableExportOptions.ConvertEmptyCells Property
Gets or sets whether a cell with an empty value is processed by a converter.
Namespace: DevExpress.Spreadsheet.Export
Assembly: DevExpress.Spreadsheet.v26.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean | true, to process cells with empty values; otherwise, false. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to ConvertEmptyCells |
|---|---|
| DataTableExporter |
|
Remarks
Cells with empty values (the CellValue.IsEmpty property is true) are skipped for better performance. Corresponding values in the target DataTable are left intact.
To run a converter for empty cells, set the ConvertEmptyCells option to true.
If the entire row in the source range does not contain values, and the DataTableExportOptions.ConvertEmptyCells option is set to true, the ConvertEmptyCells setting is ignored.