Topic: Showing column sort direction

dmpneuro premium asked 6 years ago


DataTables (without MDB) can show you the direction that a column is sorted (see: https://datatables.net/examples/styling/order-column.html). The up and down icon arrows change to correctly reflect the column sort order. With MDB, all I see is a font-awesome icon of both up and down arrows that never changes, regardless of the direction the column is sorted in. How can I get my table to show the sort direction in the column header?

Clendening pro commented 6 years ago

Adding some css: https://stackoverflow.com/questions/8286508/jquery-datatable-doesnt-show-sort-icon Importing the png assets: https://github.com/DataTables/DataTables/tree/master/media/images

Marta Wierzbicka staff commented 6 years ago

Thank you for the solution.

Michal Szymanski staff answered 6 years ago


Unfortunately, you cannot do it right now, because we didn't integrate this option. Perhaps we'll add it in the future, but I cannot give you an exact date.

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags