Glyphicons in header

Glyphicons in header

felixgillfelixgill Posts: 24Questions: 7Answers: 0

Hello,

I am trying to add bootstrap glyphicons to the header of a a datatable column like so:

<th>Priority <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span></th>

however the sort up/down icons are placed on top.

I have tried changing the order of the span and that doesn't help.

Any ideas?

Answers

  • felixgillfelixgill Posts: 24Questions: 7Answers: 0

    after trying to reproduce this on a small sample set -- i can't ;( so I am trying to isolate what might be causing the issue.

    I am using datatables + yadcf and trying to place a glyphicon in the header the sort up/down ticks are placed on top of the glyphicon and makes it unusable. any help is appreciated.

  • allanallan Posts: 63,683Questions: 1Answers: 10,498 Site admin

    We would need a link to a test case showing the issue (per the forum rules).

    The latest Bootstrap integration for DataTables uses glyphicons itself - are you using that? And also not loading the DataTables default CSS?

    Allan

This discussion has been closed.