6
Here’s what I’m using a table from the site: Datatables and here’s the deal:
As you can see the text gets all in line which makes it difficult to read because you have to scroll my doubt is how do I make it to make automatic paragraphs or is with the table break the line.
<div class="card-block">
<div class="dt-responsive table-responsive">
<table id="basic-btn" class="table table-striped table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Nome do Cliente</th>
<th>Serial Number</th>
<th>Fabrincante</th>
<th>Modelo</th>
<th>Avaria</th>
<th>Causa</th>
<th>Relatório</th>
<th>Data</th>
<th>Num Obra</th>
<th style="min-width:80px;">Ação</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Exemplo/td>
<td>Exemplo</td>
<td>Exemplo</td>
<td>Exemplo</td>
<td>Exemplo</td>
<td>Exemplo</td>
<td style="word-wrap:break-word"> </td>
<td>Exemplo</td>
<td>Exemplo</td>
<td style="vertical-align: middle;">
<button type="button" class="btn btn-info edit" data-toggle="modal" data-target="#modalEditar"><i class="fa fa-edit fa-lg"></i></button>
<button type="button" data-toggle="modal" data-target="#awesome-modal" class="btn btn-danger md-effect-1 apagar"><i class="fa fa-trash fa-lg"></i></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
the table is already responsive, what you need is to break the line
– Rovann Linhalis
exact thank you! missing word
– Shider
yes this works for the column but for the text not
– Shider
i think it’s something from datatables same
– Shider
I only removed php which is the code that is fetching from the database
– Shider