column width

column width

kringelkringel Posts: 16Questions: 9Answers: 0

How can I make the text keep going in one single line and not wrap to a new line?
This pic is how it works now
I've already tried changing the column width with https://datatables.net/reference/option/columns.width , but it didn't help.

I want it to be like that "test test test test", not
"test test
test test"

Thanks in advance!

This question has an accepted answers - jump to answer

Answers

  • kringelkringel Posts: 16Questions: 9Answers: 0

    When I stretch the window, everything appears fine. How to make sure that the data is not wrapped into several lines, but always remains as one?

  • kthorngrenkthorngren Posts: 21,184Questions: 26Answers: 4,925
    Answer ✓

    Try adding the class nowrap to your table tag.

    Kevin

  • kringelkringel Posts: 16Questions: 9Answers: 0

    Thanks! That helped! :) :) :) :)

This discussion has been closed.