@serenity-is/corelib / AutoRegisterArgs

Interface: AutoRegisterArgs<P, T>

Defined in: src/ui/datagrid/datagrid-autoregisterargs.tsx:7

Arguments for auto register callback

Type Parameters

P

P = any

T

T = any

Properties

cancel

cancel: boolean

Defined in: src/ui/datagrid/datagrid-autoregisterargs.tsx:10

Set to true to cancel the auto register process for this grid / dataGrid


dataGrid?

optional dataGrid: DataGrid<any, { }>

Defined in: src/ui/datagrid/datagrid-autoregisterargs.tsx:12

The data grid instance if available


options

options: Partial<P>

Defined in: src/ui/datagrid/datagrid-autoregisterargs.tsx:20

Options that can be modified by the callback, which are passed to the plugin/mixin constructor. Note that the options set here only applies to the auto registered instance and not to any manually created instance.


pluginType()

pluginType: (props) => T

Defined in: src/ui/datagrid/datagrid-autoregisterargs.tsx:8

Parameters

props

P

Returns

T


sleekGrid?

optional sleekGrid: ISleekGrid

Defined in: src/ui/datagrid/datagrid-autoregisterargs.tsx:14

The ISleekGrid instance