Goal:
I have a table component with editable columns. I would like the user to be able to input values into a cell in the table component, and the custom column dynamically shows the new calculated value.
In the custom column, I put this as the datasource, the idea is that column A * (columnB/ColumnC):
{{ **
** (table34.changesetObject?.[currentSourceRow.fee_id]?.fee_initial_value ?? currentSourceRow.fee_initial_value) * **
(
** (table34.changesetObject?.[currentSourceRow.fee_id]?.sale_index_current_value ?? currentSourceRow.sale_index_current_value) **
** / (table34.changesetObject?.[currentSourceRow.fee_id]?.sale_index_initial_value ?? currentSourceRow.sale_index_initial_value)
**) **
}}
This used to work but for some reason, not anymore. Since I'm not too well vested with JS, I'm struggling to fix it.
This is the idea more or less of the outcome I am looking for.