IXlRow.BeginTable(IEnumerable<String>, Boolean, XlCellFormatting) Method
Starts generating a table in the worksheet.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v25.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
IXlTable BeginTable(
IEnumerable<string> columnNames,
bool hasHeaderRow,
XlCellFormatting headerRowFormatting
)
Parameters
| Name | Type | Description |
|---|---|---|
| columnNames | IEnumerable<String> | A list of string values representing the unique captions for table columns. |
| hasHeaderRow | Boolean | A Boolean value indicating whether the header row is displayed for the table. |
| headerRowFormatting | XlCellFormatting | An XlCellFormatting object that specifies format settings for the header row of the table. |
Returns
| Type | Description |
|---|---|
| IXlTable | An IXlTable object representing the generated table. |
Remarks
Use the IXlRow.BeginTable - IXlRow.EndTable method pair to format a cell range containing related data as a table. For details on how to generate a table and adjust its properties, refer to the Tables section for examples.
See Also