sort ascending and descending buttons on table footer

sort ascending and descending buttons on table footer

ronald_woutersronald_wouters Posts: 1Questions: 1Answers: 0

On the DataTables homepage you can see the up and down triangle icons/buttons you can click on to sort that column ascending or descending.

How can I add the same sort buttons on the footer column names ?

Regards,
Ronald Wouters

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @ronald_wouters ,

    There's no easy way, I'm afraid. This example here allows sorting, but you it won't display the arrow indicators unfortunately. I've added it to the feature request for DataTables 2.0, so it may appear in the near future.

    Cheers,

    Colin

This discussion has been closed.