Hello all ,
I've got quite a few columns in my table that I want to have shown, however some of these are only true/false values so don't require a lot of column space. In Excel I set the column header text to vertical so I can condense the column width as much as possible; I've managed to use the custom css in the styles and scripts
settings to change the column headings to vertical, however this is applied across all the column headings (and likely to any other tables I might subsequently add).
I've looked at trying to apply an id
to the specific column headings so that the custom css will only be applied to the elements I flag, but I can't seem to get the javascript to work - is something like this possible? Ideally it would be nice if I could create a condition that if the column type == boolean then apply the vertical-text style to the column heading, or even just a checkbox I could flag on/off for each column value.
Image below to show what I mean by vertical text in the column headings.
Any help/suggestions would be awesome!
-L