DataTables - Responsive

DataTables - Responsive

erikmerikm 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

Answers

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin

    But the content in that extra row is not clickable e.g. for ordering purposes.

    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

This discussion has been closed.