primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Cannot use HTML in datatable column headers

Open fis-dan-wnuk opened this issue 10 years ago • 2 comments

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?

fis-dan-wnuk avatar May 24 '16 19:05 fis-dan-wnuk

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.

fernandocode avatar May 25 '16 12:05 fernandocode

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

fis-dan-wnuk avatar May 25 '16 14:05 fis-dan-wnuk