Documentation

@kanunilabs/datagrid-enterprise


@kanunilabs/datagrid-enterprise / ImportWizardSpec

Interface: ImportWizardSpec<TRow>

Type Parameters

TRow

TRow = GridRowData

Properties

columnModel

columnModel: ColumnModel<TRow>


onClose?

optional onClose?: () => void

Returns

void


onImport

onImport: (rows) => void

Receives rows already keyed by grid column id.

Parameters

rows

Record<string, unknown>[]

Returns

void


previewRows?

optional previewRows?: number

Rows shown in the preview table. Default 8.


surfaceClass?

optional surfaceClass?: string


t

t: GridDictionary


title?

optional title?: string