toggleSelect method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
qlik.app.field.toggleSelect(match, softlock)
Toggles a field selection.
Version history
Version state | Details |
---|---|
Introduced | 1.0 |
Parameters
match
Type: String
Match string.
Information noteThe toggleSelect() method accepts a string to search for. The string can contain wildcards or numeric search criteria. If you want to search for an exact string match, use the selectValues method instead.
softlock
Type: Boolean
Optional.
If true, locked selections can be overridden.
Returns
A promise.
Tip noteFor more information regarding a promise, see The Promise API.
Example
var app = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d', config);
app.field('LastName').toggleSelect('A', true);