UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

19 lines (18 loc) 893 B
import { ApiBase } from './ApiBase'; import { NoteApi } from '../NoteApi'; import { AdaptableNote, AdaptableNotes, NoteState } from '../../AdaptableState/NoteState'; import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable'; import { NoteInternalApi } from '../Internal/NoteInternalApi'; import { CellAddress } from '../../types'; export declare class NoteApiImpl extends ApiBase implements NoteApi { internalApi: NoteInternalApi; constructor(_adaptable: IAdaptable); addNote(noteStr: string, primaryKeyValue: any, columnId: string): void; editNote(note: AdaptableNote): void; updateNoteText(noteStr: string, note: AdaptableNote): void; deleteNote(note: AdaptableNote): void; getNoteState(): NoteState; getAllNotes(): AdaptableNotes; getNoteForCell(address: CellAddress): AdaptableNote; getNoteByUuid(uuid: string): AdaptableNote | undefined; }