How to make column heading bold text in rhandsontable in shiny package of r?
I have a rhandsontable in shiny that I want to make bold the text in the header. How can I do it? Does anyone know?
How to make column heading bold text in rhandsontable in shiny package of r?
I have a rhandsontable in shiny that I want to make bold the text in the header. How can I do it? Does anyone know?
You can add some
style
to your table as so:rhandsontable is an interface to the Handsontable.js library, so it's possible to customize it using CSS. Take the following data frame:
It looks like this without any customization.
But if you specify using CSS, you can reference it:
And you end up with this.
Make sure to specify the colHeaders argument when you call the rhandsontable function.