Class: TEgFireGrid
procedure SetColumnTitles(const ATitles: array of string);
Sets the titles (Title.Caption)
of several columns at once.
ATitles: the new title of each column, one entry per
column; an empty entry gives that column an empty title. A title may
contain <br> and <var>
markers.
Grid1.SetColumnTitles(['Name', 'Category', 'Price<br>(EUR)']);
The entries go to the columns of EffectiveColumns
in collection order (the order of the columns on screen, hidden columns
included), the first entry to the first column; entries beyond the last
column are ignored. With no explicit Columns this
changes the default columns, which are rebuilt (and lose the change)
whenever the dataset’s fields change: use it on explicit columns, or
again after each rebuild.