Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / GridColumnChooserProps

Interface: GridColumnChooserProps<TRow>

Defined in: datagrid-react/src/components/GridColumnChooser.tsx:16

Type Parameters

TRow

TRow = GridRowData

Properties

anchor

anchor: object

Defined in: datagrid-react/src/components/GridColumnChooser.tsx:20

left

left: number

top

top: number


columns

columns: ColumnState[]

Defined in: datagrid-react/src/components/GridColumnChooser.tsx:19

Passed in so the panel re-renders when visibility changes.


controller

controller: DataGridController<TRow>

Defined in: datagrid-react/src/components/GridColumnChooser.tsx:17


dark?

optional dark?: boolean

Defined in: datagrid-react/src/components/GridColumnChooser.tsx:22


labels?

optional labels?: Partial<Record<"empty" | "title" | "showAll" | "ok", string>>

Defined in: datagrid-react/src/components/GridColumnChooser.tsx:23


onClose

onClose: () => void

Defined in: datagrid-react/src/components/GridColumnChooser.tsx:21

Returns

void