Interface JsTableReference


@TsUnion(anonymous=false, name="TableReference", namespace="dh") @JsType(name="?", namespace="<global>", isNative=true) public interface JsTableReference
Any client object that refers to a table on the server, and so can be the other operand of a table operation: a JsTable, a JsTotalsTable, a JsPendingTable or a JsResolvedTable. These are the table-shaped members of the union of server objects. The operand must be on the same connection as the table operated on: the joins of a mutable Table throw if it is not, and the operations of JsTableOperations and the other methods taking one reject. A JsTable contributes its current state, including filters or sorts requested but not yet applied.

Every method that takes a table reference holds it until its result settles, so the caller may close it as soon as the method has been called: the operations of JsTableOperations, the joins and snapshot of a mutable Table, mergeTables, the InputTable add and delete methods, shareObject and bindTableToVariable. Widget.sendMessage is the exception: it does not hold its references.

  • Method Details