bootstrap css and scrollY option cause duplicate sort icons on the first row

bootstrap css and scrollY option cause duplicate sort icons on the first row

av11av11 Posts: 2Questions: 0Answers: 0

Hi,

Included example at http://jsfiddle.net/xgrkqo4x/ show that if you enable scrollY option you'll see duplicated bootstrap sort icons on the first row of the table.
I have no idea how to fix that. Appreciate you help here.

Thanks a lot!

Replies

  • DustinKDustinK Posts: 5Questions: 2Answers: 0
    edited February 2015

    I was having this same issue. I fixed it by adding the following css.

    .dataTables_scrollBody thead {visibility: hidden;}

    {visibility: collapse;} also seems to work.

    Here is a link to your fiddle with the above css applied.

    http://jsfiddle.net/c8dqaz1s/

  • av11av11 Posts: 2Questions: 0Answers: 0

    You're the best!
    It is really work as expected.

    Thank you very much!!!

This discussion has been closed.