DataTables - Responsive
DataTables - Responsive
erikm
Posts: 1Questions: 1Answers: 0
Hi there,
I am using the responsive extension of datatables. When my table is too big (or the device has a small viewport) some columns will be displayed in an extra row - that is the desired behaviour.
But the content in that extra row is not clickable e.g. for ordering purposes.
Is it possible to use the detail row, which displays the content of the hidden colums to use for ordering and if so how can I do that ?
Kind regards
l'erique
This discussion has been closed.
Answers
Do you mean you want to be able to click the column headers in the responsive details row? That isn't something that is available out of the box, but you could probably do it by binding a click event listener to those elements and then use
order()
to sort the table.Allan