Interface IRenderContext

context for rendering, wrapped as an object for easy extensibility

interface IRenderContext {
    dialogManager: DialogManager;
    idPrefix: string;
    provider: IDataProvider;
    tasks: IRenderTasks;
    asElement(html: string): HTMLElement;
    colWidth(col: Column): number;
    groupRenderer(col: Column, imposer?: IImposer): IGroupCellRenderer;
    renderer(col: Column, imposer?: IImposer): ICellRenderer;
    sanitize(text: string): string;
    summaryRenderer(
        co: Column,
        interactive: boolean,
        imposer?: IImposer,
    ): ISummaryRenderer;
}

Hierarchy (View Summary)

Properties

dialogManager: DialogManager
idPrefix: string

prefix used for all generated id names

provider: IDataProvider

Methods