Skip to main content Skip to complementary content

SelectionObserver Class

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.

Inheritance

Syntax

public class SelectionObserver : GenericObject, ITransient, ISelectionObserver, IGenericObject, IPropertyContainer, IQixClassBase, IDisposable, IChangeNotifier

Constructors

Name Description
SelectionObserver(Int32)

Properties

Name Description
Layout
Properties

Methods

Name Description
Dispose(Boolean)
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()
GetSelectionObserver(IApp, String)

Create a SelectionObserver instance.

GetSelectionObserverAsync(IApp, String)

Create a SelectionObserver instance.

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.

OnGetLayoutAsync(Response)
OnGetMasterObjectAsync(Response)
OnGetPropertiesAsync(Response)
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!