Skip to main content
Version: v24

TableFormatterInputs<T>

Interface

Type parameters

NameType
Textends TableFormatterInputValues = TableFormatterInputValues

Properties

prevValues

Optional

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.

Type

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


priceFormatter

Optional

standard formatter for price. You can use format(price) method to prepare price value.

Type

INumberFormatter


values

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

Type

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