Hello, I need to make sure that the header of the table stays fixed, that it does not move with the rest of the contents of the table The code that I have so far is the following:
#principal.table-responsive.table-hover(style='background-color:rgb(242,242,242);height:400px;')
table#tabla_listado.table.table-hover(style='font-size:12px')
thead
tr.noExl(style='background-color:229,229,229;background-color:rgb(229,229,229);')
th
input#checks(type='checkbox',onchange='seleccion(this)')
th check
th campo 1
th campo 2
th campo 3
th campo 4
th campo 5
tr
tbody
each val in datos.rows
tr.active(style='background-color:243,243,243;' data-pk='#{val.pk}')
td
input.checkpueblos(type='checkbox',value='#val.pk}',onclick='prueba();')
td campo check
td campo 1
td campo 2
td campo 3
td campo 4
td campo 5
For the design of the table I use Bootstrap