Writes an edited value of a calculated column back into the row (ColumnDefIf.valueSetter). Without a setter a
calculated column cannot be edited. Return false to reject the value.
// "total" is price × quantity – editing the total changes the price
const setTotal: ValueSetter<Item> = (row, value) => {
const total = Number(value);
if (!Number.isFinite(total) || !row.quantity) return false;
row.price = total / row.quantity;
};
1.1.95
the row type