Complex headers / orderCellsTop - need to use middle header for sorting
Complex headers / orderCellsTop - need to use middle header for sorting
mhingston
Posts: 2Questions: 1Answers: 0
Hi,
I have a table with 3 header rows, I want to make it so the middle row is used for sorting the columns. As far as I can see this is controlled through the option orderCellsTop which can either be true (use the top row) or false (use the bottom row), what should I do if I want to use the middle row for sorting columns, a basic example would be really useful.
Thanks.
This discussion has been closed.
Answers
I managed to achieve what I needed to using pseudo elements, not ideal but it works for my use case.
mhingston can you post your solution?
This example has two header rows:
http://live.datatables.net/giharaka/1/edit
Kevin