Skip to content

@serenity-is/sleekgrid / Formatters / Checkbox

Function: Checkbox()

Checkbox(_row, _cell, value): FormatterResult

Defined in: src/formatters/index.ts:29

Legacy adapter for CheckBoxFormatter.

Parameters

_row

number

Unused row index.

_cell

number

Unused cell index.

value

any

Truthy/falsy cell value.

Returns

FormatterResult

Checkbox icon element.