Listening to tabulator scroll events or grabbing the DOM element in javascript

Tabulator has scrolling events:

These are not available in panel currently.

As a workaround, I was trying to get the javascript element and add the standard DOM scroll event listener, but I was unable to find a way to do that.

In general, given a panel widget as created in python, is there a way to grab it in javascript (e.g. via custom JSComponent and Bokeh.documents[0] that I’ve seen mentioned e.g. here or a similar approach)?

Hello,
You can take a look on the workaround indicated at Document how to select a specific html element of a Panel component · Issue #5372 · holoviz/panel · GitHub to see how you can select a component from javascript by using the identifier to the panel component

Bokeh.index.query_one((view) => view.model.id == panel_component.id)
1 Like