
I have an editable DataTable with a column z that gets calculated by running some calculations (fast but non-trivial) on another column x. (example: z = x^2). I want to make the updates live in the z column to changes in row values for the x column. I am running this use case with a bokeh server.
I can listen to changes in x and y columns using the on_change callback on the data property for the underlying cds. This works as expected. But then how do I trigger a change in the z column? I can’t update the cds from its own on_change callback because that creates an infinite recursion situation.
I have read Data table editing - change when user changes input value - Community Support - Bokeh Discourse – But this doesn’t work because there is no patching event on the python server side as mentioned in the discussion here python - Callback to datatable when user changes a content of cell - Stack Overflow
