Get the App
SLTechnology News&Howtos  ›  Development  › 

How to wrap the bootstrap-table plug-in

Shulou Source: shulou.com Published: 2022-06-03 10:56:43 11月15日 Update

This article mainly introduces the bootstrap-table plug-in how to change the line, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

If you add a few more columns, the td text will not wrap, it will all be displayed in one line and the width of the whole table will automatically exceed the width of the body, and a scroll bar will appear.

Solution.

Add a style= "word-break:break-all; word-wrap:break-all;" and this will be fine.

Title 1234567891111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111124567891111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Tags: Articles plugins widths lines values interests methods at the same time text more friends knowledge editing industry information information channels questions channels references learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Tech Info Huawei Apple MySQL