How can I get column's caption in TDBGrid
?
I've tried this but it returns FieldName
instead caption:
DBGrid.Fields[i].DisplayLabel
How can I get column's caption in TDBGrid
?
I've tried this but it returns FieldName
instead caption:
DBGrid.Fields[i].DisplayLabel
Copyright © 2021 Jogjafile Inc.
Just access the
Columns
directly:If the columns are out of order, and you need to find a column title for a specific field, you have to look for it first: