Skip to content

@serenity-is/sleekgrid / defaultColumnFormat

Function: defaultColumnFormat()

defaultColumnFormat(ctx): FormatterResult

Defined in: src/core/formatting.ts:172

Default column formatter; escapes or returns the value based on enableHtmlRendering. Use as a safe fallback when no custom formatter is provided.

Parameters

ctx

FormatterContext

Formatter context whose value is rendered.

Returns

FormatterResult

Escaped or raw string representation of ctx.value.