interface RowEditionActions {
edit: boolean,
delete: boolean,
save: boolean,
cancel: boolean
}
CrossFieldValidationSettings<T>
interface CrossFieldValidationSettings<T extends object> {
customValidator?: (columnDef: DikeGridColumnDef<T>) => ValidatorFn,
customAsyncValidator?: (columnDef: DikeGridColumnDef<T>) => AsyncValidatorFn,
updateOn?: 'change' | 'blur' | 'submit',
errorMessages: CustomErrorMessage
}
interface EditionFieldSettings {
required?: boolean,
validators?: ValidatorFn[],
asyncValidators?: AsyncValidatorFn[],
updateOn?: 'change' | 'blur' | 'submit',
options?: DikeBinarySelectionModel[] | DikeNumericSelectionModel[] | DikeTextSelectionModel[],
errorMessages?: CustomErrorMessage
}
DikeGridEditionSettings<T>
interface DikeGridEditionSettings<T extends object> {
maxRowsInEdition?: number,
rowEditionDblClick?: boolean,
rowEditionEnterkey?: boolean,
rowEditionEscKey?: boolean,
splitDeleteOperation?: boolean,
deleteOperationRowSubsetSize?: number,
splitUndoOperation?: boolean,
undoOperationRowSubsetSize?: number,
crossFieldValidation?: CrossFieldValidationSettings<T>
waitForMultipleRowDeletions?: boolean,
waitForMultipleRowUpdates?: boolean,
waitForMultipleRowCancellations?: boolean,
waitForMultipleRowRestorations?: boolean
}