[bokeh] Questions about data_tables.py


1. How do I control the alpha of selected and non-selected values? I currently see:


2. How do I lock the maximum number of selected rows to 1?

There's nothing built in to do this. You might be able to use CustomJS callback on selections to unselect anything you don't want selected:


3. How do I obtain the values of the selected row? Is it possible to have something like 'selected_row.value' like its button?

The "selected['1d'].indices" property of the data source that drives the table has the indices of the selected rows. You can use those indices to access the .data columns in the data source.




Thanks for helping :slight_smile:

You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/ffff5373-37e6-4d62-a615-8900f5398621%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.