Two headers when scrollX added. Vue component.

Two headers when scrollX added. Vue component.

sasizvekvsasizvekv Posts: 2Questions: 1Answers: 0
edited April 14 in Free community support

When I adding scrollX to options for vue Component DataTable, there is appears two headers. How can I avoid this problem?
1. These articles did not help (1, 2) because there is no solution for Vue.
2. I can't create a test case because when I tried to fork this solution it didn't work at all.
3. Instead, I created a project to simulate the problem: https://github.com/LokkiDog/datatables.error

This question has an accepted answers - jump to answer

Answers

  • sasizvekvsasizvekv Posts: 2Questions: 1Answers: 0
    edited April 14

    I've been struggling with this problem for 3 days. As soon as I asked a question on the forum, I solved it myself:)

    I had to write this line in the styles:
    <style>
    @import 'datatables.net-bs5';
    </style>

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Answer ✓

    Typical isn't it :). Great to hear you've got it sorted out now though.

    Allan

Sign In or Register to comment.