Problem with ColVis and Scroller

Problem with ColVis and Scroller

RappiRappi Posts: 49Questions: 12Answers: 1

Hi.

I have a little problem. Since I have include ColVis and Scroller the table is not right....
I don't can tell it in english because my english is not good enough :-(

Here you find screenshots: http://www.rappi.de/error1.png and http://www.rappi.de/error2.png
My Debugcode: obugux

I hope you can help.....

Regards Rappi

This question has an accepted answers - jump to answer

Answers

  • RappiRappi Posts: 49Questions: 12Answers: 1

    I forgot to say: the problem come after change the cols with ColVis!
    A demo is here: http://www.rappi.de/Tier-Management
    Login: demo/demo

  • allanallan Posts: 52,290Questions: 1Answers: 7,966 Site admin

    I don't know where to go once logged into the demo, but if you are using DataTables 1.10.7, it would be worth trying the nightly version.

    Allan

  • RappiRappi Posts: 49Questions: 12Answers: 1
  • RappiRappi Posts: 49Questions: 12Answers: 1

    Thanks Allan!

    The nightly version is working fine!

    Only the line break in some columns is ugly. Can we prevent it?
    If the width of the table does not matter, then each column could be based on the longest entry.

    Regards

  • allanallan Posts: 52,290Questions: 1Answers: 7,966 Site admin

    Good to hear the nightly version fixes it. v1.10.8 final will be released by the end of the month.

    For the line breaks in the text - try adding the class "nowrap" to your DataTable. If that doesn't work (the page isn't loading for me atm so I can't be certain it will - although that is likely to be more to do with my internet connection on a high speed train than anything else...) then add:

    table.dataTable th,
    table.dataTable td {
      white-space: nowrap;
    }
    

    to your CSS.

    Allan

  • RappiRappi Posts: 49Questions: 12Answers: 1

    Great!

    The class nowrap is not working but the insert css is working fine!

    The next problem is the sort-image named as "First error" in the first grafic http://www.rappi.de/error1.png

    Where it come from?

  • allanallan Posts: 52,290Questions: 1Answers: 7,966 Site admin
    Answer ✓

    The class nowrap is not working

    Whether it is present depends upon the version of the integration files, which is why I suggested both options.

    For the error you note in the image, please update to the latest version of the DataTables / Bootstrap integration files.

    Allan

This discussion has been closed.