AdaptableNote

View as Markdown

One piece of text attached to one cell.

PrimaryKeyValue and ColumnId locate the cell. Text is the note. NoteType colours the indicator and defaults to 'Info'.

TypeScript
export interface AdaptableNote extends
Extends

AdaptableObject

Properties

PropertyTypeDescriptionDefault
AuthorstringAuthor of the Note - uses AdaptableOptions.userName when Note is created
ColumnIdstringId of Column containing the Note
CreatedAtnumberWhen the Note was first created; maps to AG Grid's Note.createdAt
NoteTypeAdaptableMessageTypeType of Note - 'Info' | 'Warning' | 'Error' | 'Success'; drives colour of Cell Note indicator'Info'
PrimaryKeyValueanyValue in Grid's Primary Key Column
TextstringContent of the Note
UpdatedAtnumberWhen the Note was last updated; maps to AG Grid's Note.updatedAt
IsReadOnlybooleanSets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

Property Details

Author

Author of the Note - uses AdaptableOptions.userName when Note is created

TypeScript
Author?: string;
Property Value

string

ColumnId

Id of Column containing the Note

TypeScript
ColumnId: string;
Property Value

string

CreatedAt

When the Note was first created; maps to AG Grid's Note.createdAt

TypeScript
CreatedAt?: number;
Property Value

number

NoteType

Type of Note - 'Info' | 'Warning' | 'Error' | 'Success'; drives colour of Cell Note indicator

TypeScript
NoteType?: AdaptableMessageType;
Default Value

'Info'

Property Value

AdaptableMessageType

PrimaryKeyValue

Value in Grid's Primary Key Column

TypeScript
PrimaryKeyValue: any;
Property Value

any

Text

Content of the Note

TypeScript
Text: string;
Property Value

string

UpdatedAt

When the Note was last updated; maps to AG Grid's Note.updatedAt

TypeScript
UpdatedAt?: number;
Property Value

number

IsReadOnly

Inherited from AdaptableObject

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

TypeScript
IsReadOnly?: boolean;
Property Value

boolean