TAdvStringGrid detect merge columns

Hello,

I am using an AdvStringGrid with grouping function and merged headers.

When, by program, I iterate the rows, how can I detect a merged header ?
(In that case, I will not read column data).
Reading the merged headers row, for any column, the data returned is the merged data.

Thanks
Bertrand

the function grid.IsMergedCell() returns whether a cell is merged or not.