I have a problem with the contents of the columns of a datatable because it does not fit me, the content that it carries is a long text and at the time of showing it exceeds the size of the screen and does not allow to see the rest of the information .
Thank you very much to anyone who can help.
Below is the script code
<script>
$(document).ready(function () {
$('#grid').dataTable();
});
</script>
On the other hand, the code that I use to fill the table
<table id="grid" class="table table-striped table-bordered dt-responsive nowrap">
<thead>
<tr>
<th>Codigo</th>
<th>Nombre</th>
<th>Misión</th>
<th>Visión</th>
</tr>
</thead>
<tbody id="container">
<?php
include_once('configuracionbd.php');
$query = "SELECT * FROM facultad order by id_facultad ASC";
$resultado = mysqli_query($mysqli,$query);
$tabla = "";
while($row = mysqli_fetch_array($resultado)){
echo "<tr>";
echo "<td>".$row['id_facultad']."</td>";
echo "<td>".$row['nombre_facultad']."</td>";
echo "<td>".$row['mision_facultad']."</td>";
echo "<td>".$row['vision_facultad']."</td>";
echo "</tr>";
}
?>
</tbody>
</table>
And that's how the table on the page shows me now
How do I adjust the text of the mission field and do not overflow the page?