use of io.deephaven.web.client.api.tree.JsTreeTableConfig in project deephaven-core by deephaven.
the class JsTable method treeTable.
// TODO: #37: Need SmartKey support for this functionality
// @JsMethod
public Promise<JsTreeTable> treeTable(Object configObject) {
Objects.requireNonNull(configObject, "Table.treeTable configuration");
final JsTreeTableConfig config;
if (configObject instanceof JsTreeTableConfig) {
config = (JsTreeTableConfig) configObject;
} else {
config = new JsTreeTableConfig(Js.cast(configObject));
}
return workerConnection.newState((c, state, metadata) -> {
// );
throw new UnsupportedOperationException("treeTable");
}, "treeTable " + Global.JSON.stringify(config)).refetch(this, workerConnection.metadata()).then(state -> new JsTreeTable(state, workerConnection).finishFetch());
}
Aggregations