collapseTop method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

backendApi.collapseTop(qRow, qCol, qAll)

Collapse the top dimensions of a pivot table. Only works for hypercubes with qMode = P which are not always fully expanded.

Version history

Introduced 2.0

Parameters

qRow

Type: Number

Row index.

qCol

Type: Number

Column index.

qAll

Type: Boolean

Optional.

If set to true, qRow and qCol are ignored and all cells are collapsed.

Returns

A promise of a Qlik Associative Engine reply.

Tip: For more information regarding a promise, see https://code.angularjs.org/1.7.0/docs/api/ng/service/$q#the-promise-api.

Examples

Example:  

this.backendApi.collapseTop( 0, 1 );

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?