Skip to main content

grid-tabulator.booleanformatterparams

Home > @genesislcap/grid-tabulator > BooleanFormatterParams

BooleanFormatterParams interface

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Parameters for the boolean formatter

isDisabled: Function to determine whether the checkbox should be disabled for a specific row

dataTestId: Data test ID for testing

prefix: The prefix to use for the checkbox element, e.g., 'foundation', 'zero', 'rapid'. Defaults to 'foundation' if not specified.

Signature:

export interface BooleanFormatterParams<T = any> 

Properties

Property

Modifiers

Type

Description

dataTestId?

((rowData: T) => string) | string

(ALPHA) (Optional)

isDisabled?

(rowData: T) => boolean

(ALPHA) (Optional)

prefix?

string

(ALPHA) (Optional)