Skip to main content Skip to complementary content

collapseTop method

Information noteSTABLE.

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

Version history
Version state Details
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 noteFor more information regarding a promise, see The Promise API.

Examples

Example:  

this.backendApi.collapseTop( 0, 1 );

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!