Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
489 views
in Technique[技术] by (71.8m points)

html - Change the text and background colour of the header column in Bokeh DataTable

I am using a standalone bokeh html document and it has various tabs, in one of the tabs is a DataTable.

I recently changed the background colour of the HTML to black and lost the text in the header columns, I would now like to change the colour of the text and or background colour to make them visible again.

I am using HTMLTemplateFormatter to colour individual columns no problem but cannot find a way to format the header, can anyone help me here?

Thanks

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Right now today, there is not a way to do this in Bokeh. (See Discourse topic: https://discourse.bokeh.org/t/colored-fields-name-of-datatable/6879/2) Looks like there's not a GH issue for it yet either, so you might want to submit one.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...