UNPKG

@adaptabletools/adaptable

Version:

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

14 lines (13 loc) 420 B
import { ApiBase } from '../Implementation/ApiBase'; export class NoteInternalApi extends ApiBase { areNotesSupported() { if (this.getLayoutApi().isCurrentLayoutPivot()) { return false; } return true; } getNotesDateFormat() { const dateFormat = this.getNoteOptions().dateFormat; return typeof dateFormat === 'function' ? dateFormat() : dateFormat; } }