Skip to main content

grid-tabulator.booleanformatter

Home > @genesislcap/grid-tabulator > booleanFormatter

booleanFormatter() function​

Formatter that displays boolean values using a checkbox component. Styled to match grid-pro boolean renderer.

Signature:

export declare function booleanFormatter<T = any>(cell: any, formatterParams?: BooleanFormatterParams<T>): string;

Parameters​

Parameter

Type

Description

cell

any

The cell component provided by Tabulator

formatterParams

BooleanFormatterParams<T>

(Optional) Boolean formatter parameters

Returns:

string

HTML content for the boolean value