Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataTableExporter.RangeHasHeaders Property

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

Namespace: DevExpress.Spreadsheet.Export

Assembly: DevExpress.Spreadsheet.v24.2.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