clearAll method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
qlik.app.clearAll(lockedAlso, state)
Clears all selections in all fields of the current Qlik Sense app.
Version history
Version state | Details |
---|---|
Introduced | 1.0 |
Updated | 2.1 |
Parameters
lockedAlso
Type: Boolean
Optional. Also clear locked fields.
Default: false
Introduced in version 2.1.
state
Type: String
Optional. Alternate state name.
Default: $
Introduced in version 2.1.
Returns
A promise of a Qlik associative engine reply.
Tip noteFor more information regarding a promise, see The Promise API.
Example
var app = qlik.openApp('2abac31e-3b46-4b78-8bxf-c5cea1d2514d', config);
app.clearAll();