jupyter-widgets-contrib / ipysheet

Jupyter handsontable integration
MIT License
543 stars 68 forks source link

Control the background colour and font of the index and header #250

Open DiegoF90 opened 5 months ago

DiegoF90 commented 5 months ago

We are currently able to modify the background colour of individual cells. Please would it be possible to have an option to control the table's header and index colour as well as the font?

This would be helpful as a workaround for #249

DiegoF90 commented 5 months ago

For anyone else looking for a workaround for #249, I ended up modifying the css manually with:

display(HTML(r"<style>.handsontable th {color: white; background-color: gray;}</style>"))

where display and HTML are both in from IPython.display