NoteOptions

View as Markdown

Options for managing AdapTable Notes

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
dateFormatstring | (() => string)Date Format string for Notes timestamp'dd-MM-yyyy HH:mm:ss'
defaultNoteTypeAdaptableMessageTypeType given to a Note on creation ('Info' | 'Warning' | 'Error' | 'Success')'Info'
isCellNotable(context:NotableCellContext) => booleanWhether 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

AdaptableMessageType

isCellNotable

Whether a cell can contain Notes

TypeScript
isCellNotable?: (context: NotableCellContext) => boolean;
Property Value

(context:NotableCellContext) => boolean