I have a Bokeh app that includes a gridplot. The ColumnDataSource for each plot within the gridplot has a column named ‘id’. When any glyph in any plot within the gridplot is selected, I want to collect all of the values of the ‘id’ column for any selected records across all plots so I can use those later.
Can anyone suggest how to do this?
I’ve tried setting up on_change('selected', self, handler) on the source itself when creating the plot, as well as setting it up on the gridplot object as a whole, as well as setting it up within the setup_events method in the app class. I set up a break point within the handler itself as a sanity check, and that breakpoint never gets triggered when I select points (although if I run the python code manually and set a list of integers to the .selected attribute the handler it called and the break point triggered).
Thank you in advance for any suggestions you can offer.
