GenericObjectCollapseTopAsync Method |
Collapses the top dimensions of a pivot table. This method applies only to pivot tables that are not always fully expanded.
In the definition of the hypercube (in HyperCubeDef), the parameter qAlwaysFullyExpanded must be set to false.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public Task CollapseTopAsync(
string path,
int row,
int col,
bool all,
AsyncHandle asyncHandle = null
)
Public Function CollapseTopAsync (
path As String,
row As Integer,
col As Integer,
all As Boolean,
Optional asyncHandle As AsyncHandle = Nothing
) As Task
Parameters
- path
- Type: SystemString
Path to the definition of the object to be collapsed
For example, /qHyperCubeDef.
This parameter is mandatory. - row
- Type: SystemInt32
Row index. The index is based on the top dimension indexes.
Indexing starts from 0. - col
- Type: SystemInt32
Column index in the data matrix.
Indexing starts from 0. - all
- Type: SystemBoolean
If set to true, it collapses all cells.
Parameters qRow and qCol are not used if qAll is set to true, but they need to be set (for example to 0). - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Return Value
Type:
TaskImplements
IGenericObjectCollapseTopAsync(String, Int32, Int32, Boolean, AsyncHandle)See Also