I have a case where I show a full set of records on a plot, and then list a subset of those records, with additional details, in a datatable. I want users to be able to select a row of the datatable, and have the corresponding data point show as selected in the plot. I think this would be unproblematic if the plot and the datatable shared the same data source, but because the datatable necessarily shows fewer results than the plot, that approach doesn’t seem possible.
Can anyone suggest a way to implement this? The two datasources have a common column, so I grab the selected record from one and look up the corresponding record in the other. I’m using Bokeh 0.11 with the Bokeh server. I tried explicitly setting the
selected property in a python callback, but nothing happened. Am I missing a step? Does this need to be done with a CustomJS callback instead?
Thanks in advance for any help you can offer.