☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Conditional format per item in dropdown

Community Support
Pablo
Pablo

What I am trying to do: customize the list of items displayed in a dropdown so that some of them have e.g. different text colors (gray for those items it does not make sense to select, for instance)

What I have tried: nothing, since it seems css_styles are static for a component. However, I am aware of custom (conditional, etc) formatters for Table cells, so I guess what I am asking is very similar but applied to each dropdown item.

I read about formatters here:

Thanks!

⌁   Link to post

End of archived discussion · Replies are disabled