How to change the font/size/centering of the cells?
1 Like
@dynamite All the style_* props can take arbitrary css declarations in either css or python casing. If you want to style all the cells (data cells and headers) you can do this:
// Python casing
style_cell = {
'font_family': 'cursive',
'font_size': '26px',
'text_align': 'center'
},
// or CSS casing
style_cell = {
'font-family': 'cursive',
'font-size': '26px',
'text-align': 'center'
},
if you only want to style the data cells or the headers, use style_data
or style_header
.
5 Likes