Type of the items.
Type of the items.
Optionaloptions: DataSourceExtensionOptions
Debounce of the sortsChange event.
Protected Readonly_Protected_Bus used to register handlers and to raise the events.
Protected_Protected Readonly_true when at least one sort is set.
Maximum number of sorts, 0 when unlimited. See addSort.
Protected_Schedules the *Change event after the quiet time, restarting the wait
if one is already pending.
Protected_Raises the *Change event of the extension.
Appends a sort, replacing the sort on the same field, if any (the replacement goes to the end, i.e. to the lowest priority). When the limit is reached and no sort is replaced, nothing changes but the events are raised anyway with the unchanged sorts.
Adds the contribution of the extension to the payload. Build phase, run in the order of the keys and completed before any item is read.
Payload built by the previous extensions.
the payload for the next extension.
Removes every sort.
Cancels the pending *Change event and removes every handler.
Registers a handler for an event.
Name of the event to listen to.
Event to subscribe to.
Callback invoked every time event is raised.
a subscription; dispose it to remove this single handler.
Removes the sort on a field, if any.
Field no longer sorted.
SortExtension holding one sort at most: addSort replaces the current sort, whatever its field, raising a single
addSortevent.