Always leave line at the top

Asked

Viewed 56 times

3

I’m using the plugin Datatables and wanted a line to always be at the top regardless of the sort or search that was done as if it had a static "position", always in the first place

Does anyone know how I can do it?

1 answer

1

There is the Fixedcolumns plugin, but it does not allow this functionality.

What you can do is put a header with two lines, the second being the line you want to keep permanently.

That example: jsfiddle, Taken from the question fix Second Row, shows this in action.

  • It seems that this is the best solution per hour

Browser other questions tagged

You are not signed in. Login or sign up in order to post.