Interface: TableFormatterInputs<T>
Charting Library.TableFormatterInputs
Type parameters
Name | Type |
---|---|
T | extends 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.