Skip to main content

DataTableExporter.RangeHasHeaders Property

Gets whether the first row of the cell range contains column names.

Namespace: DevExpress.Spreadsheet.Export

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public bool RangeHasHeaders { get; }

Property Value

Type Description
Boolean

true, if the first row of a cell range contains headings instead of data; otherwise, false.

Remarks

The worksheet cell range is specified in the DataTableExporter constructor and can be obtained by using the DataTableExporter.Range property. If the RangeHasHeaders is true, the first row in the range is skipped when performing the export.

See Also