Skip to main content Skip to complementary content

ISelectionObserver Interface

Namespace: Qlik.Sense.Client
Assembly: Qlik.Sense.Client.dll

The selection observer class provides an interface for inspecting the current set of selected field values for an app.

Syntax

public interface ISelectionObserver : IGenericObject, IPropertyContainer, IQixClassBase, IDisposable, IChangeNotifier

Properties

Name Description
Layout
Properties

Methods

Name Description
FieldHasSelections(String)

Check if there are currently any selected values in the specified field.

FieldHasSelectionsAsync(String)

Check if there are currently any selected values in the specified field.

GetAllSelectedValues(String, Int32)

Get all selected values for the specified field.

GetFieldSelectionCount(String)

Get the number of selected values of the specified field.

GetFieldSelectionCountAsync(String)

Get the number of selected values of the specified field.

GetLayoutAsync()
GetNamesOfFieldsWithSelections()

Get the names of all fields that currently have any selected values.

GetNamesOfFieldsWithSelectionsAsync()

Get the names of all fields that currently have any selected values.

GetNumberOfFieldsWithSelections()

Check how many fields that currently have any selected values.

GetNumberOfFieldsWithSelectionsAsync()

Check how many fields that currently have any selected values.

GetPropertiesAsync()
GetSelectionPager(String)

Get a data pager for paging across the selected value of the field.

GetSelectionPagerAsync(String)

Get a data pager for paging across the selected value of the field.

GetSelectionState()

Get the state for which the object currently observes selections.

GetSelectionStateAsync()

Get the state for which the object currently observes selections.

HasAnySelections()

Check if there are currently any selected values in any fields.

HasAnySelectionsAsync()

Check if there are currently any selected values in any fields.

SetSelectionState(String)

Set the state for which to observe selections.

SetSelectionStateAsync(String)

Set the state for which to observe selections.

Extension Methods

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!