Products
|
Download
|
Order
|
Forum
|
Contact us
NativeExcel suite v1.x
Reference
>
TDataset2Excel
>
HeaderSource
HeaderSource property
Specifies from where to get the
text
of column header. The default value is hsDisplayLabel. Read/write THeaderSource.
Syntax
property
HeaderSource: THeaderSource;
Description
HeaderSource can be one of these THeaderSource constants.
hsDisplayLabel
Header from TField.DisplayLabel
hsFieldName
Header from TField.Name
hsEmpty
Empty header
Example
This example sets HeaderSource property to hsFieldName.
Dataset2Excel1.HeaderSource := hsFieldName;
Copyright © NikaSoft 2004-2011