문서
API
Types
Type: Report Item

Type: Report Item

Report Item들에 사용되는 타입

PageBreakMode

enum PageBreakMode {
    NONE = 'none',
    BEFORE = 'before',
    AFTER = 'after',
    BOTH = 'both'
}

ReportItemValueCallback

type ReportItemValueCallback = (
    ctx: PrintContext,
    item: ReportItem,
    row: number,
    value: any
) => any;

ReportItemStyleCallback

type ReportItemStyleCallback = (
    ctx: PrintContext,
    item: ReportItem,
    row: number,
    value: any
) => {
    [key: string]: string | undefined
};

ReportItemVisibleCallback

type ReportItemVisibleCallback = (
    ctx: PrintContext,
    item: ReportItem,
    row: number,
    value: any
) => boolean;

ContextValueCallback

type ContextValueCallback = (ctx: PrintContext) => any;

BoxItemsAlign

enum BoxItemsAlign {
    START = 'start',
    MIDDLE = 'middle',
    END = 'end'
}