Skip to main content

Interface: TableFormatterInputs<T>

Broker.TableFormatterInputs

Type parameters

NameType
Textends TableFormatterInputValues = TableFormatterInputValues

Properties

prevValues

Optional prevValues: Partial<T extends [...args: A[]] ? [...A[]] : never>

Optional field. It is array of previous values so you can compare and format accordingly. It exists if current column has the highlightDiff: true key.


values

values: T extends [...args: A[]] ? [...A[]] : never

Array of values to be formatted. Values are obtained by extracting dependent properties from the data object.