Interface IEngineRankingContext

context for rendering, wrapped as an object for easy extensibility

interface IEngineRankingContext {
    caches: {
        toolbar: Map<string, IToolbarAction[]>;
        toolbarAddons: Map<string, IToolbarDialogAddon[]>;
    };
    dialogManager: DialogManager;
    document: Document;
    flags: ILineUpFlags;
    idPrefix: string;
    provider: IDataProvider;
    tasks: IRenderTasks;
    asElement(html): HTMLElement;
    colWidth(col): number;
    createRenderer(c, imposer?): IRenderers;
    getPossibleRenderer(col): {
        group: IRenderInfo[];
        item: IRenderInfo[];
        summary: IRenderInfo[];
    };
    groupRenderer(col, imposer?): IGroupCellRenderer;
    renderer(col, imposer?): ICellRenderer;
    resolveToolbarActions(col, keys): IToolbarAction[];
    resolveToolbarDialogAddons(col, keys): IToolbarDialogAddon[];
    sanitize(text): string;
    summaryRenderer(co, interactive, imposer?): ISummaryRenderer;
}

Hierarchy (view full)

Properties

caches: {
    toolbar: Map<string, IToolbarAction[]>;
    toolbarAddons: Map<string, IToolbarDialogAddon[]>;
}

Type declaration

dialogManager: DialogManager
document: Document
idPrefix: string

prefix used for all generated id names

provider: IDataProvider

Methods