TcxPivotGridField.OnGetGroupImageIndex Event
Occurs when an image is associated with a grouping item.
Declaration
property OnGetGroupImageIndex: TcxPivotGridFieldGetGroupImageIndex read; write;
Remarks
To associate a field’s grouping item (the grouping column or grouping row that corresponds to a particular grouping value) with an image, assign an image list to the pivot grid’s GroupHeaderImages property and handle the OnGetGroupImageIndex event. The field and the grouping item are identified by the Sender and AItem parameters, respectively. Use the AImageIndex parameter to associate the grouping item with an image in the image list by its index. You can specify alignment settings for the image using the AImageAlignHorz and AImageAlignVert parameters.
See Also