You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Made a basic initialization of the table but when I open it from my phone or resize the browser the responsive show the + or - icons but it doesn't show the hidden fields
I Made a basic initialization of the table but when I open it from my phone or resize the browser the responsive show the + or - icons but it doesn't show the hidden fields
This is my table
<table id="tabla" class="display dt-responsive no-wrap" width="100%"> <thead> <tr> <th>Profesor</th> <th>Materia</th> <th>Seccion</th> <th></th> <th></th> <th></th> <th></th> </tr> </thead> <tbody> <% @profesors.each do |profesor| %> <tr> <td><%= profesor.profesor %></td> <td><%= profesor.materia %></td> <td><%= profesor.seccion %></td> <td><%= link_to 'Show', profesor %></td> <td><%= link_to 'Edit', edit_profesor_path(profesor) %></td> <td><%= link_to 'Destroy', profesor, method: :delete, data: { confirm: 'Are you sure?' } %></td> <td><%= link_to 'Alumnos', alumnos_path("prof" => profesor) %></td> </tr> <% end %> </tbody> </table>
This is my script :
$('#tabla').DataTable({ responsive: true });
The text was updated successfully, but these errors were encountered: