How to fully show colVis modal when datatable is empty?

How to fully show colVis modal when datatable is empty?

lisdeylisdey Posts: 2Questions: 1Answers: 0

Hello everyone,
I´m new using datatbles, I have the following one: https://debug.datatables.net/ovinuc. My problem is that when the table is empty the colVis modal doesn´t shows all the colums, just a part, I have another datatable but using version 1.9 and there the ColVis works just fine. Any ideas what this could be?

Thanks in advance

This question has accepted answers - jump to:

Answers

  • colincolin Posts: 15,158Questions: 1Answers: 2,587
    Answer ✓

    Hi lisdey,

    I tried it here, and the full column list is being displayed, so the colvis button itself is ok.

    Could it be something to do with your CSS?

    Cheers,

    Colin

  • allanallan Posts: 61,787Questions: 1Answers: 10,115 Site admin
    Answer ✓

    It does look like it. The fact that it is cutting off at exactly the point of your container suggests you have overflow: hidden for it.

    Allan

  • lisdeylisdey Posts: 2Questions: 1Answers: 0

    Thanks a lot for your quick response, and yes you both were right.

This discussion has been closed.