Dokumentacija HotXLS

HeaderSource svojstvo

Određuje from where to get the text of column header. The default value is hsDisplayLabel. Read/write THeaderSource

Sintaksa

property HeaderSource: THeaderSource;

Opis

HeaderSource can be one of these THeaderSource constants
hsDisplayLabel Header from TField.DisplayLabel
hsFieldName Header from TField.Name
hsEmpty Empty header

Primjer

This example sets HeaderSource property to hsFieldName

DataToXLS1.HeaderSource := hsFieldName;