Computes the value of a calculated column from the row (ColumnDefIf.valueGetter). The row is the data object
(in a tree the TreeRow.data). The data is not changed – sorting, filter (tableApi.getRowValue), copy, Excel and
totals use the computed value.
Keep it fast and free of side effects: it runs for every visible cell on each render (values are not cached) and once per row for sorting and totals.
const total: ValueGetter<Item> = row => row.price * row.quantity;
ColumnDef.create({ property: "total", headerLabel: "Total", valueGetter: total });
1.1.95
the row type