IStagedInvertableSelectionHandler
Home > @gooddata/sdk-ui-filters > IStagedInvertableSelectionHandler
IStagedInvertableSelectionHandler interface
Handles selection of keys with stages: working and committed.
Signature:
export interface IStagedInvertableSelectionHandler<T extends InvertableSelection<any>> extends Omit<IInvertableSelectionHandler<T>, "getSelection">
Extends: Omit<IInvertableSelectionHandler<T>, "getSelection">
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
onSelectionCommitted | CallbackRegistration<OnSelectionCommittedCallbackPayload<T>> | Registers a callback that will be fired when the selection is committed. Returns unsubscribe function, that will unregister it, once called. Multiple callbacks can be registered by this function. |
Methods
Method | Description |
---|---|
commitSelection() | Commit the current working selection making it the new committed selection. |
getCommittedSelection() | Returns the current committed selection. |
getWorkingSelection() | Returns the current working selection. |
isWorkingSelectionChanged() | Returns whether the current working selection is changed.. |
isWorkingSelectionEmpty() | Returns whether the current working selection is empty. |
revertSelection() | Revert the current working selection by resetting it to the committed selection. |