NoteOptions
Options for managing AdapTable Notes
TypeScript
export interfaceProperties
| Property | Type | Description | Default |
|---|---|---|---|
| dateFormat | string | (() => string) | Date Format string for Notes timestamp | 'dd-MM-yyyy HH:mm:ss' |
| defaultNoteType | AdaptableMessageType | Type given to a Note on creation ('Info' | 'Warning' | 'Error' | 'Success') | 'Info' |
| isCellNotable | (context:NotableCellContext) => boolean | Whether a cell can contain Notes |
Property Details
dateFormat
Date Format string for Notes timestamp
TypeScript
dateFormat?: string | (() => string);Default Value
'dd-MM-yyyy HH:mm:ss'
Property Value
string | (() => string)
defaultNoteType
Type given to a Note on creation ('Info' | 'Warning' | 'Error' | 'Success')
TypeScript
defaultNoteType?: AdaptableMessageType;Default Value
'Info'
Property Value
isCellNotable
Whether a cell can contain Notes
TypeScript
isCellNotable?: (context: NotableCellContext) => boolean;Property Value
(context:NotableCellContext) => boolean