RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.GetGroup Method

Indicates where a dimension appears in the current pivot state.

Pascal
function GetGroup(iDim: Integer): TDimGroup;
C++
__fastcall TDimGroup GetGroup(int iDim);

Call GetGroup to determine how the dimension specified by the iDim parameter is used in the current pivot state. The iDim parameter is the absolute index of the dimension, where 0 is the first active dimension, 1 is the second active dimension, and so on.  

If the dimension is a row dimension (displayed to the left of a decision grid or on the y-axis of a decision graph), GetGroup returns dgRow. If it is a column dimension (displayed at the top of a decision grid or on the x-axis of a decision graph), GetGroup returns dgCol. If the dimension is a paged dimension (not appearing in the decision control but limiting the data to a single value along the dimension), GetGroup returns dgPage. GetGroup never returns dgSum or dgNone.

Note: To determine the position of the dimension within the row dimensions or column dimensions, use the GetIndex method.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!