question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linebreak not work

See original GitHub issue

I followed the example Long text to do my pdf export. Everything worked well until I set another value to dataKey: "text" It mean that, this is your code in the example,

var columnsLong = getColumns().concat([
        {title: "Long text column", dataKey: "text"},
        .......
    ]);

I set package_name to dataKey then I tried to export and linebreak didn’t work for the column Long text column.

I don’t understand why linebreak only work for dataKey: "text", if it isn’t a bug can you explain for me ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rjankathicommented, Aug 15, 2017

@lpbaiser @Aakanchha02 @anatha Hello guys, This is how I made it work. Hope it helps image Here’s the updated plunk from @lpbaiser : https://plnkr.co/edit/JNYEeryM7UA6pcoCa24E?p=preview

0reactions
webwakkocommented, May 9, 2019

@rjankathi : how exactly did you make this work? the plunk is not actualy showing the solution to this? or am I missing out on something? Please explain what exactly you did to make it work… much appriciated 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML Automatic line-break doesn't work? - Stack Overflow
The element where text is should have css declaration: div { display: block; width: 200px; /*based on how much width this div should...
Read more >
When a Line Doesn't Break - CSS-Tricks
The inline-block element adds a breaking character at the end of the text. Then the content property space comes after the breaking character ......
Read more >
The Dos and Don'ts of Adding an HTML Line Break
HTML Line Break Not Working. If the HTML line break is not working — especially if you're working in the text editor of...
Read more >
The line break(\\) is not work · Issue #2312 · mathjax ... - GitHub
The line-break isn't effect and it renders as single line. However, it works fine and renders as two lines at verision 2.
Read more >
kern after \linebreak doesn't work - TeX - LaTeX Stack Exchange
The second \kern works as expected but the first doesn't. Is that because the text is blocked by its left boundary? Is there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found