Skip to content

@serenity-is/sleekgrid / CheckBoxFormatter

Function: CheckBoxFormatter()

CheckBoxFormatter(ctx): FormatterResult

Defined in: src/formatters/formatters.ts:64

Renders a boolean value as a styled checkbox icon (<i> with slick-checkbox / checked classes).

Parameters

ctx

FormatterContext

Formatter context whose value is coerced to boolean.

Returns

FormatterResult

An <i> element representing the checkbox state.