Is it possible to enable html-content for mdt-column
See original GitHub issueI 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:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@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.
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