GenericObjectSelectHyperCubeCellsAsyncT Method (String, IEnumerableInt32, IEnumerableInt32, Boolean, Boolean, FuncResponse, T, AsyncHandle) |
Makes selections in multiple dimensions and measures.
This method applies to hypercubes, such as bar charts, tables and scatter plots.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.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,
AsyncHandle asyncHandle = null
)
Public Function SelectHyperCubeCellsAsync(Of T) (
path As String,
rowIndices As IEnumerable(Of Integer),
colIndices As IEnumerable(Of Integer),
Optional softLock As Boolean = false,
Optional deselectOnlyOneSelected As Boolean = false,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- path
- Type: SystemString
Path to the definition of the object to be selected.
For example, /qHyperCubeDef.
This parameter is mandatory. - rowIndices
- Type: System.Collections.GenericIEnumerableInt32
Array of row indexes to select, starting from 0.
If the array is empty [ ], all rows are selected.
This parameter is mandatory. - colIndices
- Type: System.Collections.GenericIEnumerableInt32
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: SystemBoolean
Set to true to ignore locks; in that case, locked fields can be selected.
This parameter is mandatory. - deselectOnlyOneSelected (Optional)
- Type: SystemBoolean
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: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTImplements
IGenericObjectSelectHyperCubeCellsAsyncT(String, IEnumerableInt32, IEnumerableInt32, Boolean, Boolean, FuncResponse, T, AsyncHandle)See Also