@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
37 lines (36 loc) • 755 B
TypeScript
import { AdaptableObject } from '../types';
import { BaseState } from './BaseState';
/**
* Adaptable State Section for Note Module
*/
export interface NoteState extends BaseState {
/**
* Collection of AdapTable Notes
*/
Notes?: AdaptableNotes;
}
/**
* Note that can be applied to a Cell in AdapTable
*/
export interface AdaptableNote extends AdaptableObject {
/**
* When Note was made
*/
Timestamp?: number;
/**
* Content of the Note
*/
Text: string;
/**
* Value in Grid's Primary Key Column
*/
PrimaryKeyValue: any;
/**
* Id of Column containing the Note
*/
ColumnId: string;
}
/**
* Collection of Cell Notes
*/
export type AdaptableNotes = AdaptableNote[];