NoteOptions

Options for managing AdapTable Notes

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
dateFormatstring | (() => string)Date Format string for Notes timestamp'dd-MM-yyyy HH:mm:ss'
isCellNotable(context:NotableCellContext) => booleanWhether a cell can contain Notes
showNoteAction'hover' | 'menu'Whether to show Notes by hovering (default) or via context menu'hover'
showPopupCloseButtonbooleanShow the Close Button in the Notes Popuptrue

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)

isCellNotable

Whether a cell can contain Notes

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

(context:NotableCellContext) => boolean

showNoteAction

Whether to show Notes by hovering (default) or via context menu

TypeScript
showNoteAction?: 'hover' | 'menu';
Default Value

'hover'

Property Value

'hover' | 'menu'

showPopupCloseButton

Show the Close Button in the Notes Popup

TypeScript
showPopupCloseButton?: boolean;
Default Value

true

Property Value

boolean