Hi,
I have a CDS which fires a python callback, but not the JS callback. I am under the impression that both should fire at the same event. In the example below when I modify a cell in the DataTable, the python callback is called, but the JS callback is not.
from bokeh.models import DataTable, ColumnDataSource, CustomJS, TableColumn
from bokeh.plotting import curdoc
source = ColumnDataSource(data = { 'x':[0,1,2,3], 'y':['a','b','c','d']})
columns = [TableColumn(field='x'), TableColumn(field='y')]
data_table = DataTable(source=source,columns= columns, editable=True)
callback_hello_js = CustomJS(code='''
// just logs to the console
console.log('hello from js');
''')
def callback_hello_py(attr, old, new):
print('hello from python')
source.on_change('data',callback_hello_py)
source.js_on_change('data',callback_hello_js)
curdoc().add_root(data_table)
