ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Multi-line Headers with formatting in PDF export

Open dlgski opened this issue 10 years ago • 2 comments

I am trying to export my grid with a custom header. My header is multi-line. If I have no formatting, I can see all 3 lines. But if I add the headerStyle, only 1 line shows, and it's formatted properly. How can I get all 3 lines to show?

Here is a plunker to show the issue I'm having: http://plnkr.co/edit/Bzn2a5w63ObOodR5BQZZ?p=preview

Also, is there a way to add a header to export by CSV?

dlgski avatar Dec 29 '15 18:12 dlgski

Did you find solution for multi line header?

alihyperagency avatar Jun 25 '16 16:06 alihyperagency

used '\n' for break line

{text:['hello','\n','world']},

imvishalsingh avatar Nov 07 '17 09:11 imvishalsingh