@serenity-is/sleekgrid / CompatFormatter
Type Alias: CompatFormatter()<TItem>
CompatFormatter<
TItem> = (row,cell,value,column,item,grid?) =>string|CompatFormatterResult
Defined in: src/core/formatting.ts:122
Legacy formatter signature kept for backward compatibility.
Type Parameters
TItem
TItem = any
Row item type.
Parameters
row
number
Row index.
cell
number
Cell/column index.
value
any
Raw cell value.
column
Column<TItem>
Column definition.
item
TItem
Row data item.
grid?
Grid instance, if available.
Returns
string | CompatFormatterResult
Plain string or structured result with classes/tooltip.