Interface JsTreeTable.ExpandDescendantsUnion

Enclosing class:
JsTreeTable

@TsUnion @JsType(isNative=true, name="?", namespace="<global>") public static interface JsTreeTable.ExpandDescendantsUnion
Union type for the expandDescendants parameter of JsTreeTable.setExpanded(io.deephaven.web.client.api.tree.JsTreeTable.RowReferenceUnion, boolean, io.deephaven.web.client.api.tree.JsTreeTable.ExpandDescendantsUnion) and JsTreeTable.expand(io.deephaven.web.client.api.tree.JsTreeTable.RowReferenceUnion, io.deephaven.web.client.api.tree.JsTreeTable.ExpandDescendantsUnion). In TypeScript, this is boolean | number. Pass true to expand the row and all descendants, a number (>= 1) to expand to a specified depth relative to the target node, or false / omit to expand only the row itself. The depth is relative to the target node: a depth of 1 is equivalent to a regular expand (one level), a depth of 2 expands the node and its children, etc. Descendants with their own directives are respected, same as expand-all.
  • Method Details

    • of

      @JsOverlay static JsTreeTable.ExpandDescendantsUnion of(Object o)
    • isBoolean

      @JsOverlay default boolean isBoolean()
    • isNumber

      @JsOverlay default boolean isNumber()
    • asBoolean

      @JsOverlay @TsUnionMember default boolean asBoolean()
    • asInt

      @JsOverlay @TsUnionMember default int asInt()