API reference: @salmonui/data-grid/engine/tree
restoreTreeStatefunction
import { restoreTreeState } from '@salmonui/data-grid/engine/tree';function restoreTreeState<Row>(engine: DataGridEngine<Row>, part: TreeStatePart): {
readonly type: string;
readonly reason: string;
} | null;
Restores a tree part (tree.setExpanded); null without the tree module.