How to have a header multiline

Resolved
Jaffrezic asked on November 22, 2018

Hi,
In my pivot I would like to have a multi-line header (see attach files)
Thanks
Regs
Franck

Attachments:
header multiline.png

4 answers

Public
Ian Sadovy Ian Sadovy Flexmonster November 22, 2018

Hello Franck,
 
Thank you for the question.
Our pivot table is designed to visualize only single lines, but you can customize it using CSS to show multiple lines in headers.
Please check the following sample: https://jsfiddle.net/flexmonster/euL68hzr/
Also, you need to adjust header row height manually (in the report config).
 
Hope it helps.
 
Regards,
Ian
 

Public
Jaffrezic November 26, 2018

Hi Ian
Thanks it works fine.
Is it possible to have a tooltip when mouse hover on cell header (see attach file) ?
Thanks
Franck

Attachments:
tooltip.png

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster November 26, 2018

Hello Franck,
Thank you for writing. You can set the tooltip to any cell using customizeCell approach. 
Please see the example here: https://jsfiddle.net/flexmonster/euL68hzr/16/.
Let us know if the suggested approach works fine for you.
Regards,
Dmytro

Public
Jaffrezic November 26, 2018

It works fine
Thx
 

Please login or Register to Submit Answer