View as Markdown

API reference: @salmonui/data-grid/engine/tree

TreeCheckCommandtype

import type { TreeCheckCommand } from '@salmonui/data-grid/engine/tree';
type TreeCheckCommand = {
    type: 'tree.check';
    rowId: RowId;
    checked?: boolean;
};

Checkbox toggle: with a cascade, the row's subtree in one selection update and the derived ancestors.

TreeCheckCommand members (3)
NameSignatureDescription
typetype: 'tree.check';
rowIdrowId: RowId;
checkedoptionalchecked?: boolean;