CollapseColumnMemberInDimension

Collapses a dimension member in a column. If the member has children, the children will become hidden.

Note:

Collapsing members is valid only for dimensions using the [Hierarchy] member list.

Syntax

<HFMwDataGrid>.CollapseColumnMemberInDimension lColNum, lDimIndex, pvarlDeletePos, pvarlNumToDelete, pvarlTotalNumCollapsedCols

Argument

Description

lColNum

The index (0-based) that identifies the column to be collapsed.

Input argument. Long subtype.

lDimIndex

The index (0-based) that identifies the dimension to which the member belongs. Each dimension in a column is indexed.

Input argument. Long subtype.

pvarlDeletePos

Returns the index number of the column in which the deletion occurred.

Output argument.

pvarlNumToDelete

Returns the number of columns that were deleted.

Output argument.

pvarlTotalNumCollapsedCols

Returns a count of the new total of columns for the grid.

Output argument.