Interface IRankingBodyContext

context for rendering, wrapped as an object for easy extensibility

interface IRankingBodyContext {
    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;
    getGroup(index): Readonly<IOrderedGroup>;
    getPossibleRenderer(col): {
        group: IRenderInfo[];
        item: IRenderInfo[];
        summary: IRenderInfo[];
    };
    getRow(index): IGroupItem;
    groupRenderer(col, imposer?): IGroupCellRenderer;
    isGroup(index): boolean;
    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