Hello!
I often use grids with hidden columns and I have to calculate Col-/Row- Values by using methods like RealColIndex. That works fine.
My question: Are the values for ACol and ARow in Events like GetAlignment or GetCellColor
are always on the basis of all columns and rows or only the visible ones?
ColumnByHeader returns always RealCol-Values - right?
Is this described in the manual and I have not seen it?
Kind regards
Ulrich
As a rule of thumb, all event handlers that relate to display characteristics of cells use display coordinates.
Events that relate to cell data, use real cell coordinates.
So, OnGetAlignment, OnGetCellColor use display coordinates.