officefileapi-devexpress-dot-spreadsheet-dot-export-dot-datatableexportoptions-6defdf53.md
Gets or sets whether to skip rows containing only empty cells in the exported range.
Namespace : DevExpress.Spreadsheet.Export
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public bool SkipEmptyRows { get; set; }
Public Property SkipEmptyRows As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to skip rows with empty cell values; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to SkipEmptyRows |
|---|---|
| DataTableExporter |
.Options .SkipEmptyRows
|
If the DataTableExportOptions.ConvertEmptyCells is set to true , the SkipEmptyRows property is ignored.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SkipEmptyRows property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
how-to-export-cell-range-to-a-datatable/CS/ExportToDataTableExample/Form1.cs#L82
if (stopOnEmptyRow) {
exporter.Options.SkipEmptyRows = false;
// Handle empty row.
how-to-export-cell-range-to-a-datatable/VB/ExportToDataTableExample/Form1.vb#L79
If stopOnEmptyRow Then
exporter.Options.SkipEmptyRows = False
' Handle empty row.
See Also