GenericObject SelectHyperCubeCellsAsync T  Method (String, IEnumerable Int32 , IEnumerable Int32 , Boolean, Boolean, Func Response, T , String)Qlik Sense .NET SDK - API Reference

Makes selections in multiple dimensions and measures.

This method applies to hypercubes, such as bar charts, tables and scatter plots.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

public Task<T> SelectHyperCubeCellsAsync<T>(
	string path,
	IEnumerable<int> rowIndices,
	IEnumerable<int> colIndices,
	bool softLock = false,
	bool deselectOnlyOneSelected = false,
	Func<Response, T> onResult,
	string userHandle = null
)

Parameters

path
Type: OnlineSystem String
Path to the definition of the object to be selected. For example, /qHyperCubeDef. This parameter is mandatory.
rowIndices
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 
Array of row indexes&#160;to select, starting from 0. If the array is empty [ ], all rows are selected. This parameter is mandatory.
colIndices
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 
Indexes of the columns to select, starting from 0. A column corresponds to a dimension or a measure depending on the definition of the hypercube. Example: If the hypercube has two dimensions and one measure: [0] selects the first column (i.e the first dimension) [1] selects the second column (i.e the second dimension) [2] selects the third column (i.e the measure) If the array is empty [ ], all columns are selected. This parameter is mandatory.
softLock (Optional)
Type: OnlineSystem Boolean
Set to true to ignore locks; in that case, locked fields can be selected. This parameter is mandatory.
deselectOnlyOneSelected (Optional)
Type: OnlineSystem Boolean
Set this parameter to true to unselect the last single selected value. There must be only one selected value in the field. The default value is false.
onResult
Type: OnlineSystem Func Response, T 
Continuation function
userHandle (Optional)
Type: OnlineSystem String
Handle identifier
Type Parameters

T

Return Value

Type: OnlineTask T 

Implements

IGenericObject SelectHyperCubeCellsAsync T (String, IEnumerable Int32 , IEnumerable Int32 , Boolean, Boolean, Func Response, T , String)
See Also