맥스그리드 API 레퍼런스
    Preparing search index...

    Interface ButtonRendererParams<TRow>

    interface ButtonRendererParams<TRow = unknown> {
        ariaLabel?: string | ((ctx: WidgetCtx<TRow>) => string);
        disabled?: boolean | ((ctx: WidgetCtx<TRow>) => boolean);
        label?: string | ((ctx: WidgetCtx<TRow>) => string);
        onClick: (ctx: WidgetCtx<TRow> & { event: MouseEvent }) => void;
        visible?: boolean | ((ctx: WidgetCtx<TRow>) => boolean);
    }

    Type Parameters

    • TRow = unknown
    Index
    ariaLabel?: string | ((ctx: WidgetCtx<TRow>) => string)
    disabled?: boolean | ((ctx: WidgetCtx<TRow>) => boolean)
    label?: string | ((ctx: WidgetCtx<TRow>) => string)

    글자. 생략하면 셀 텍스트.

    onClick: (ctx: WidgetCtx<TRow> & { event: MouseEvent }) => void
    visible?: boolean | ((ctx: WidgetCtx<TRow>) => boolean)

    false면 그 셀에 버튼을 그리지 않는다.