Documentation

@kanunilabs/datagrid-react-enterprise


@kanunilabs/datagrid-react-enterprise / GridImportWizardProps

Interface: GridImportWizardProps<TRow>

Type Parameters

TRow

TRow = GridRowData

Properties

columnModel

columnModel: ColumnModel<TRow>


dark?

optional dark?: boolean

Forwarded to the portal so the wizard keeps the grid's dark palette.


onClose

onClose: () => void

Returns

void


onImport

onImport: (rows) => void

Receives rows already keyed by grid column id.

Parameters

rows

Record<string, unknown>[]

Returns

void


open

open: boolean


previewRows?

optional previewRows?: number

Rows shown in the preview table. Default 8.


title?

optional title?: string