View as Markdown

API reference: @salmonui/data-grid

DataGridTreeTogglePropsinterface

import type { DataGridTreeToggleProps } from '@salmonui/data-grid';
interface DataGridTreeToggleProps {
    readonly rowId: RowId;
    readonly label?: string;
}
DataGridTreeToggleProps members (2)
NameSignatureDescription
rowIdreadonly rowId: RowId;
labeloptionalreadonly label?: string;

The row's name in the button label (Expand {row}). Default: the tree column's text.