Class JsTreeTableConfig

java.lang.Object
io.deephaven.web.client.api.tree.JsTreeTableConfig

@JsType(name="TreeTableConfig", namespace="dh") public class JsTreeTableConfig extends Object
Configuration object for running Table.treeTable to produce a hierarchical view of a given "flat" table. Like TotalsTableConfig, TreeTableConfig supports an operation map indicating how to aggregate the data, as well as an array of column names which will be the layers in the roll-up tree, grouped at each level. An additional optional value can be provided describing the strategy the engine should use when grouping the rows.
  • Field Details

    • idColumn

      public String idColumn
      The column representing the unique ID for each item.
    • parentColumn

      public String parentColumn
      The column representing the parent ID for each item.
    • promoteOrphansToRoot

      public boolean promoteOrphansToRoot
      Optional parameter indicating if items with an invalid parent ID should be promoted to root. Defaults to `false`.
  • Constructor Details

    • JsTreeTableConfig

      public JsTreeTableConfig()
    • JsTreeTableConfig

      @JsIgnore public JsTreeTableConfig(jsinterop.base.JsPropertyMap<Object> source)