RowFormOptions
Options related to Dynamic Row Forms in AdapTable
export interfaceProperties
| Property | Description | Default |
|---|---|---|
| autoHandle | Whether AdapTable automatically updates AG Grid data model with created/edited/deleted rows | true |
| disableInlineEditing | Prevents direct editing in Grid cells even for editable columns | false |
| includeColumnInRowForm | Is given Column displayed in Row Form | true |
| onRowFormSubmit | Event fired when a Row Form is submitted via a standard button provided by AdapTable; this is not invoked when custom form buttons are provided | undefined |
| rowFormButtons | Custom form buttons; if provided, need to handle form submission explicitly | |
| rowFormDescription | Custom form description provider | undefined |
| rowFormFieldLabel | Custom form field label provider | undefined |
| rowFormTitle | Custom form title provider | 'Create New Row'/'Edit Row' |
| setPrimaryKeyValue | Function called when auto-handling 'create' or 'clone' Command Button; returned value should be valid for Primary Key column | undefined |
Property Details
autoHandle
Whether AdapTable automatically updates AG Grid data model with created/edited/deleted rows
autoHandle?: boolean;Default Value
true
Property Value
boolean
disableInlineEditing
Prevents direct editing in Grid cells even for editable columns
disableInlineEditing?: boolean;Default Value
false
Property Value
boolean
includeColumnInRowForm
Is given Column displayed in Row Form
includeColumnInRowForm?: (rowFormColumnContext: RowFormColumnContext) => boolean;Default Value
true
Property Value
(rowFormColumnContext:RowFormColumnContext) => boolean
onRowFormSubmit
Event fired when a Row Form is submitted via a standard button provided by AdapTable; this is not invoked when custom form buttons are provided
onRowFormSubmit?: (rowFormSubmittedInfo: RowFormSubmittedInfo<TData>) => void;Default Value
undefined
Property Value
(rowFormSubmittedInfo:RowFormSubmittedInfo<TData>) => void
rowFormButtons
Custom form buttons; if provided, need to handle form submission explicitly
rowFormButtons?: AdaptableButton<RowFormContext<TData>>[];Property Value
AdaptableButton<RowFormContext<TData>>[]
rowFormDescription
Custom form description provider
rowFormDescription?: string | ((context: RowFormTitleContext<TData>) => string);Default Value
undefined
Property Value
string | ((context:RowFormTitleContext<TData>) => string)
rowFormFieldLabel
Custom form field label provider
rowFormFieldLabel?: (context: RowFormFieldContext<TData>) => string;Default Value
undefined
Property Value
(context:RowFormFieldContext<TData>) => string
rowFormTitle
Custom form title provider
rowFormTitle?: string | ((context: RowFormTitleContext<TData>) => string);Default Value
'Create New Row'/'Edit Row'
Property Value
string | ((context:RowFormTitleContext<TData>) => string)
setPrimaryKeyValue
Function called when auto-handling 'create' or 'clone' Command Button; returned value should be valid for Primary Key column
setPrimaryKeyValue?: (context: SetPrimaryKeyValueContext<TData>) => any;Default Value
undefined
Property Value
(context:SetPrimaryKeyValueContext<TData>) => any