Class: TEgFireGridColumn
property ImageIndex: Integer default -1;
Icon shown in the column’s data cells, as an index into the grid’s Images; -1 (the
default) shows none. It sits at ImageAlignment,
sized to fit the row (see Images), and a click on it fires
OnCellImageClick
instead of OnCellClick.
Whether a cell shows it also depends on ShowImageOnEmpty
(cells with no text) and ImageOnSelectedOnly
(only the active cell). A check box column shows no icon. A picture
column shows it only as a placeholder on a cell with no decoded picture,
never over an actual picture.
An OnBeforeDrawCell
handler can give one cell another icon, or none (Cell.ImageIndex
:= -1), for example an icon only on the rows that meet a
condition.