Is it possible to use horizontal scroller bar without using class nowrap?

Is it possible to use horizontal scroller bar without using class nowrap?

ShakellShakell Posts: 5Questions: 2Answers: 0

As the example mentions, https://datatables.net/examples/basic_init/scroll_x.html, I use DataTables with option: scrollX: true. I find there is no change in the table. So I set class nowrap and width:100% to the table. Then there appears the scroller bar. But because all datas become one line display, so if the data is longer then the column width, it will be odd.
Without setting nowrap:

After setting nowrap:

So I want to know is it possible to use horizontal scroller bar without using class nowrap, or solutions for long data display. Thanks.

Replies

This discussion has been closed.