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.

Hello,

As I was using halign for specific columns (columns that contain numbers); I was wondering why column styling could be done with column id, so each column has its styling, but headerStyles was a global object affecting all headers.

I did not manage anyway to get header right-aligned, and even less some headers right-aligned and some left-aligned

headerStyles: {
    halign: 'right'
},

Seems to be totally avoided on 3.0.0-alpha.3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
gjuchaultcommented, Sep 5, 2018

I’d say that’s a good idea 😃 !

1reaction
simonbengtssoncommented, Aug 10, 2018

Will look over the docs and backwards compatibility before releasing v3. Goal is that there should be no breaking changes, only deprecations such as headerStyles. But didParseCell seems to be the way to go. I’m considering applying columnStyles to head and foot as well. What’s your opinion there?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Create a Header - W3Schools
Learn how to style a header. Big Header. Header. My supercool header ... Style the header with a large padding, centered text, a...
Read more >
5 cool CSS header styles with cross-browser compatibility
Useful tips for styling header texts · Pick the right colors · Make it unique · Use the right fonts · Check compatibility....
Read more >
How to style a header with CSS? - Tutorialspoint
How to style a header with CSS? - To style a header using CSS, the code is as follows −Example Live Demo Page...
Read more >
HTML header style Attribute - Dofactory
A style attribute on a <header> tag assigns a unique style to the header. Its value is CSS that defines the appearance of...
Read more >
How to style a header using CSS? - Studytonight
In this tutorial, we have learned to style the headers using CSS properties. The most common properties used to style headers are back-ground...
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