Protected constructorListen for events on this object.
The type of the data that the event will provide.
The name of the event to listen for.
A function to call when the event occurs.
Returns a cleanup function.
Listen for events on this object.
Returns a cleanup function.
Gets the data currently visible in this viewport
Promise of TableData.
Removes an event listener added to this table.
Changes the rows and columns set on this viewport. This cannot be used to change the update interval.
Optional columns: Column[]Optional updateIntervalMs: numberOptional isReverseViewport: booleanuse #update(Object) instead
Update the options for this viewport subscription. This cannot alter the update interval or preview options.
The subscription options.
This object serves as a "handle" to a subscription, allowing it to be acted on directly or canceled outright. If you retain an instance of this, you have two choices - either only use it to call
closeon it to stop the table's viewport without creating a new one, or listen directly to this object instead of the table for data events, and always callclosewhen finished. Calling any method on this object other thanclosewill result in it continuing to live on aftersetViewportis called on the original table, or after the table is modified.