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.

Is it possible to enable html-content for mdt-column

See original GitHub issue

I need to display an icon in one of the column headers but it seems html-content only works for mdt-cells. Somehitng like this:

<mdt-column html-content="true">
  <md-icon md-font-icon="fa-cog" class="fa"></md-icon>
</mdt-column>

Is there an alternative to achieve this?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
PowerGBcommented, Oct 13, 2017

@iamisti Is this issue fixed? Because I need this feature in our project too, It would be great if md-header-row can take in html-content=“true” so that we can customize the header column ourself.

2reactions
refarcpoccommented, Oct 19, 2016

Hi @iamisti, Thanks by you answer, I need this functionality to allow change the style on the header especially when the columns text are too big

Read more comments on GitHub >

github_iconTop Results From Across the Web

md-data-table - npm
Column attributes ( mdt-column ). align-rule; column-definition ... Makes it possible to configure which property should go in which column.
Read more >
md-data-table - UNPKG
Makes it possible to configure which property should go in which column. | ... Boolean | When the cell content is not a...
Read more >
Md-data-table NPM | npm.io
Angular material table. Complete implementation of google material design based on angular material components. This component is optimized for speed, ...
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