How can I add html to the label displayed for a table column

  • 2
  • Question
  • Updated 5 years ago
I like to put a line return in the label for a table column, but it seems to strip out any html tags i put in. Is there a way to do this ?
Photo of ktyler


  • 9,334 Points 5k badge 2x thumb

Posted 5 years ago

  • 2
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,828 Points 20k badge 2x thumb
I seem to always "half answer" your questions...  Here is another one. 

If what you are trying to do is get the text in the TH to wrap, you can add some custom CSS to your page for that effect.  This is what I've done in similar situations. 

th {
     white-space: normal;
     vertical-align: top;

Now I realize you may be wanting other HTML goodies in the header of the table column,  but this may get you close.