Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use HTML in datatable column headers #408

Closed
fis-dan-wnuk opened this issue May 24, 2016 · 2 comments
Closed

Cannot use HTML in datatable column headers #408

fis-dan-wnuk opened this issue May 24, 2016 · 2 comments

Comments

@fis-dan-wnuk
Copy link

fis-dan-wnuk commented May 24, 2016

I am trying to implement a checkbox column in my data table for multi select. It doesn't appear as though I can set the header for this column to a 'master checkbox' element as the column is set to string type and only accepts a string. If I do [header]="getCheckboxHeader()" it will display the HTML as plain text.

Can this be made more flexible? Maybe let multiple templates be passed in, one for the header and one for the row content?

@fernandocode
Copy link

Possibly this other issue: #98, already covers this issue, it was not currently implemented by a bug in the angular that has not been fixed yet.

@fis-dan-wnuk
Copy link
Author

Ah, you are correct. I'll close my issue.

atretyak1985 pushed a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants