Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    the reason for this is that you have not just numerical values in that “Price” column, but also text (like “Ask”). Due to that, the DataTables library will sort that column as text and not as numbers. And as text is sorted differently, you will get this result.

    To change this, you will need to remove all non-numerical values from the column, or add a custom sorting script for the DataTables library (which requires some JS coding, cf. https://datatables.net/development/sorting ).

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Columns not sorting correctly with DataTable’ is closed to new replies.