Scroller compatibility with BS3 and FixedColumns

Scroller compatibility with BS3 and FixedColumns

kthorngrenkthorngren Posts: 21,374Questions: 26Answers: 4,957

Using the latest from the Download Builder it looks like there is an incompatibility between Scroller, FixedColumns and BS3. The header is fixed but the tbody is not:
http://live.datatables.net/jejebinu/1/edit

Comment out scroller: true and FixedColumns works.

The same config but without BS3 Scroller and FixedColumns works together:
http://live.datatables.net/caxahoxo/1/edit

Seems to be a problem with BS4 also:
http://live.datatables.net/loxomiso/1/edit

Kevin

Replies

  • allanallan Posts: 63,572Questions: 1Answers: 10,482 Site admin

    Thanks Kevin!

    Temporary workaround:

    div.DTFC_LeftWrapper table,
    div.DTFC_RightWrapper table {
      z-index: 2;
    }
    

    That is actually in git already, but using the nightly does really odd things in Bootstrap. Looks like a margin and transparency error.

    I'll look into that, but for the moment the workaround will work for the latest version without those rendering errors.

    Allan

  • kthorngrenkthorngren Posts: 21,374Questions: 26Answers: 4,957

    Great, thanks.

    Kevin

This discussion has been closed.