How to get calculated value from a table?

I’m using a Table with a custom checkbox column for bulk actions. I can’t figure out how to access the edited values before saving the table.

The custom column doesn’t appear in table.data, and table.setData() doesn’t seem to have it.

Is there a way to access the current values of a custom column after users have edited it?

I am not sure of your use case, but if you want to do a bulk action on the column values, like summing up the item total etc, you don’t even need a custom column.

But if you do need a custom column, give a key to the custom column and read it from table.changesetArray. These custom columns are frontend-only so won’t appear in table.data

If you give the custom column a key, you'll see the edited values with the change set and use them

My understanding that might also be useful

.data - is the whole raw data that is fed into the table
.selectedSourceRow - is the same raw data but just for the selected row
.selectedRow - is the same row but with your column formatting setting applied
.changesetArray or .changesetObject - when an end user edits a table the value shows up here, there is a tickbox/setting in the table properties where this can include just the modified values or the entire row