# Problem with interactivity when rendering bokeh tiles and panel tabulator simultaneously

**URL:** <https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869>\
**Category:** Panel\
**Tags:** bokeh, tabulator\
**Created:** [July 25, 2025, 4:22pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869 "2025-07-25T16:22:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxgitnet](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maxgitnet/32/7311_2.png) [@maxgitnet](https://discourse.holoviz.org/u/maxgitnet)\
**Post date:** [July 25, 2025, 4:22pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/1 "2025-07-25T16:22:53Z")

</div>

Running this code with panel 1.7.0 and bokeh 3.7.3 I cannot select rows in the tabulator.

```auto
class MapTable(WidgetBase, PyComponent):
    _tab = param.ClassSelector(class_=pn.widgets.Tabulator)
    _map = param.ClassSelector(class_=figure)
    
    def __init__ (self, **params):
        super(). __init__ (**params)
        data = pd.DataFrame({'A': [1,2,3]})
        self._tab = pn.widgets.Tabulator(data)
        self._map = figure()
        self._map.add_tile("CartoDB Positron")
    
    def __panel__ (self):
        return pn.Row(self._tab, pn.pane.Bokeh(self._map, sizing_mode="stretch_both"))
        
    MapTable()

```

If I do not add tiles to the bokeh figure, the probelm disappears:

```auto
class MapTable(WidgetBase, PyComponent):
    _tab = param.ClassSelector(class_=pn.widgets.Tabulator)
    _map = param.ClassSelector(class_=figure)
    
    def __init__ (self, **params):
        super(). __init__ (**params)
        data = pd.DataFrame({'A': [1,2,3]})
        self._tab = pn.widgets.Tabulator(data)
        self._map = figure()
    
    def __panel__ (self):
        return pn.Row(self._tab, pn.pane.Bokeh(self._map, sizing_mode="stretch_both"))
        
    MapTable()

```

Is this a bug, or am I supposed to do it differently?

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [July 25, 2025, 5:55pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/2 "2025-07-25T17:55:25Z")

</div>

I don’t think widgets are supposed to be parameters, i.e. \_tab should be param.DataFrame, and \_map, perhaps the data; see [Parameterized objects (e.g. Panel Widgets) as class attributes · Issue #832 · holoviz/param · GitHub](https://github.com/holoviz/param/issues/832)

Then you would do something like `pn.widgets.Tabulator.from_param(self.param._tab)`

---

<div class="post-metadata">

**Author:** ![maxgitnet](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maxgitnet/32/7311_2.png) [@maxgitnet](https://discourse.holoviz.org/u/maxgitnet)\
**Post date:** [July 26, 2025, 6:21am UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/3 "2025-07-26T06:21:05Z")

</div>

I think it is fine, I use param.ClassSelector as your reference suggests. Pretty sure the problem would persist even if they are not in a class, I should provide a more minimal exemple.

---

<div class="post-metadata">

**Author:** ![Marc](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/marc/32/24_2.png) [@Marc](https://discourse.holoviz.org/u/Marc)\
**Post date:** [July 28, 2025, 12:24pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/4 "2025-07-28T12:24:35Z")

</div>

Yes. Please provide minimum, reproducible example.

---

<div class="post-metadata">

**Author:** ![maxgitnet](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maxgitnet/32/7311_2.png) [@maxgitnet](https://discourse.holoviz.org/u/maxgitnet)\
**Post date:** [July 28, 2025, 1:25pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/5 "2025-07-28T13:25:45Z")

</div>

```auto
# tabulator not selectable:

import pandas as pd
import panel as pn
from bokeh.plotting import figure

pn.extension('tabulator')

data = pd.DataFrame({'A': [1,2,3]})
tab_widget = pn.widgets.Tabulator(data)
map_widget = figure()
map_widget.add_tile("CartoDB Positron")

pn.Row(tab_widget, map_widget)

```

```auto
# tabulator is selectable:

import pandas as pd
import panel as pn
from bokeh.plotting import figure

pn.extension('tabulator')

data = pd.DataFrame({'A': [1,2,3]})
tab_widget = pn.widgets.Tabulator(data)
map_widget = figure()
# map_widget.add_tile("CartoDB Positron") # <---- 

pn.Row(tab_widget, map_widget)

```

I worked around the problem by using a FastListTemplate and putting the tabulator in the sidebar and the map in the main section.

The browser is Edge. Problem in both jupyterlab notebook and using panel serve.

panel==1.7.0  
bokeh=3.7.3

---

<div class="post-metadata">

**Author:** ![maxgitnet](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maxgitnet/32/7311_2.png) [@maxgitnet](https://discourse.holoviz.org/u/maxgitnet)\
**Post date:** [October 4, 2025, 8:52pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/6 "2025-10-04T20:52:30Z")

</div>

Hello, Marc. I didn’t know if you saw this, but I provided an example. The problem persists in bokeh 3.8.0 and panel 1.8.1.

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [October 6, 2025, 11:26pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/7 "2025-10-06T23:26:14Z")

</div>

Can you clarify the issue?  
It seems to be selectable for me.

 ![image](https://discourse.holoviz.org/uploads/default/original/2X/8/80cfe170c923b6215164aa0418b7025f42b3e8a2.png)

---

<div class="post-metadata">

**Author:** ![maxgitnet](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maxgitnet/32/7311_2.png) [@maxgitnet](https://discourse.holoviz.org/u/maxgitnet)\
**Post date:** [October 7, 2025, 6:00am UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/8 "2025-10-07T06:00:54Z")

</div>

Thanks for checking! Could it be a browser issue then? My work computer is only allowed to have edge unfortunately. Which browser are you using?

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [October 7, 2025, 4:43pm UTC](https://discourse.holoviz.org/t/problem-with-interactivity-when-rendering-bokeh-tiles-and-panel-tabulator-simultaneously/8869/9 "2025-10-07T16:43:49Z")

</div>

Chrome; it’s likely an issue with Edge
