I am attempting to build a Panel application that allows the user to rapidly switch between a Tabulator view of a data frame and a map that visualizes the subset of geometries selected via Tabulator. I would rather not use the Tabs functionality to accomplish this switching, but I’ve yet to find a mechanism that is as performant and preserves state. The Tabs functionality is fantastic in that the map and data table aren’t reloaded after switching views. My first attempt at building an alternative, with buttons that trigger updates of the Row elements defining the viz, shows the map and data table are getting reloaded and the current state of each viz element is lost after switching.
Is there a way to achieve this view switching similar to Tabs but via another mechanism? I’d like to place the buttons for switching between views elsewhere in the viz, integrating them into a side panel with other controls.
Any pointers would be greatly appreciated!
Chris