CollapseRowMemberInDimension

Collapses a dimension member in a row. If the member has children, the children are hidden.

Note:

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

Syntax

<HFMwDataGrid>.CollapseRowMemberInDimension lRowNum, lDimIndex, pvarlDeletePos, pvarlNumToDelete, pvarlTotalNumCollapsedRows

Argument

Description

lRowNum

The index (0-based) that identifies the row 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 row is indexed.

Input argument. Long subtype.

pvarlDeletePos

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

Output argument.

pvarlNumToDelete

Returns the number of rows that were deleted.

Output argument.

pvarlTotalNumCollapsedRows

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

Output argument.