Syncfusion.GridConverter.Windows


The element of the table.
The TableDescriptor of the ParentTable.
Visible columns collections of the table.
Destination row index.
The start column for exporting the cells. This is mainly used for hierarchy export.
Destination worksheet.
Excel exporting options for some customization.

ExportColumnHeaderRow Method

Exports the column headers to Excel sheet.
Syntax
'Declaration
 
Protected Overridable Sub ExportColumnHeaderRow( _
   ByVal element As Element, _
   ByVal tableDescriptor As GridTableDescriptor, _
   ByVal visibleColumns As GridVisibleColumnDescriptorCollection, _
   ByRef excelRowIndex As Integer, _
   ByVal excelStartColumnIndex As Integer, _
   ByVal sheet As IWorksheet, _
   ByVal exportingOptions As ExcelExportingOptions _
) 
'Usage
 
Dim instance As GridGroupingExcelConverterControl
Dim element As Element
Dim tableDescriptor As GridTableDescriptor
Dim visibleColumns As GridVisibleColumnDescriptorCollection
Dim excelRowIndex As Integer
Dim excelStartColumnIndex As Integer
Dim sheet As IWorksheet
Dim exportingOptions As ExcelExportingOptions
 
instance.ExportColumnHeaderRow(element, tableDescriptor, visibleColumns, excelRowIndex, excelStartColumnIndex, sheet, exportingOptions)

Parameters

element
The element of the table.
tableDescriptor
The TableDescriptor of the ParentTable.
visibleColumns
Visible columns collections of the table.
excelRowIndex
Destination row index.
excelStartColumnIndex
The start column for exporting the cells. This is mainly used for hierarchy export.
sheet
Destination worksheet.
exportingOptions
Excel exporting options for some customization.

Return Value

Index to the row after last exported element.
Exceptions
ExceptionDescription
If any of the parameters such as element,sheet ,excelRowIndex,tableDescriptor,visibleColumns,excelStartColumnIndex are null.
AssemblyVersion

Syncfusion.GridConverter.Windows: 18.1460.0.36

See Also