by AlexZencovich » Tue Aug 21, 2007 9:13 pm
Yes. OnGetRowTotal fired for fixed totals only because they painting in different way than usual.
You should use OnGetCellValue event and check RowIndex parameter.
If it is same as PivotMap.TopRows.Index then you have row total.
If you have PivotMap.RowCells[RowIndex].ChildCount > 0 - then you get subtotal
Best regards,
Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment