
Hello,
I’m totally new to Bokeh. It’s quite an impressive tool! I searched and couldn’t answer my question, and I apologize in advance if I’ve missed the answer elsewhere.
I’d like to use a Bokeh server to show multiple DataTables, laid out on the same page, each DataTable showing a different subset of an underlying data model. I won’t know in advance how many of these DataTables I will need, so I’d like for each DT to share a common python callback that could determine which specific DataTable had triggered the callback, and then process the data accordingly.
But it appears that the “on_change(attr, old, new)” callback signature doesn’t provide any way for me to determine which DataTable triggered the callback. That makes it hard for me to figure which part of my underlying model has been updated.
Did I miss some obvious way to do this? I looked at the identifiers “name” and “tags” but couldn’t find a way to access those parameters from within the on_change callback.
Thanks!


