English Qlik Sense Developers 3.2

select method

qlik.app.field.select(Array, toggle, softlock)

Selects field values using indexes.

Since:
  • 1.0

Parameters

Name Type Description
Array Array Array of index values to select
toggle Boolean

Optional.

If true, toggle selected state.

softlock Boolean

Optional.

If true, locked selections can be overridden.

Returns

A promise.

For more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.

Example

var app = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d');
	app.field('LastName').select([0, 1, 2], true, true);