Fontawesome icons in table header when using responsive und colVis disappear when collapsed

Fontawesome icons in table header when using responsive und colVis disappear when collapsed

CapamaniaCapamania Posts: 233Questions: 81Answers: 5
edited December 2015 in Free community support

When using fontawesome icons in the table header, the icons disappear when table is collapsed (responsive) or in the column visibility button. Please see example here:

https://jsfiddle.net/233t7ph6/

What could be a workaround for the the icons to appear or some text instead?

This question has an accepted answers - jump to answer

Answers

  • CapamaniaCapamania Posts: 233Questions: 81Answers: 5

    Nobody an idea? Is this not possible?

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin
    Answer ✓

    Simply using the current version of Responsive rather than an old release allows that aspect to work: https://jsfiddle.net/233t7ph6/1/ .

    However, not so with the buttons. I'll check into that and post back shortly.

    Allan

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin

    The issue with the Buttons is that ColVis is stripping the HTML. This isn't a good idea for use cases such as your own, but it is required in some others.

    Unfortunately, at the moment the only want to "fix" this is to remove that code from the Column Visibility buttons. Let me have a bit of a think about this and how to best fix it properly.

    Allan

  • CapamaniaCapamania Posts: 233Questions: 81Answers: 5

    Thanks Allan for looking into this and for the responsive solution. Best Regards

This discussion has been closed.