Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    First, the sorting problem: Other plugins don’t influence this, so you can re-activate those. You will however need to install the Sorting Plugins Extension.
    Then, add this to the “Custom Commands” textfield on the “Edit” screen of the table

    "aoColumnDefs": [ { "sType": "formatted-num", "aTargets": [ 6, 8, 9 ] } ]

    That will sort the currencies correctly. However, there might still be some problems as you have many rows with “N/A” entries or entirely empty cells. Those might interfere here, as the sorting algorithm doesn’t know how to treat these 🙁

    For the alignment: The problem here is your theme. It only has a very small content width, so that the table is actually aligned on the left. The theme simply leaves a rather big padding on the left. You will need to check if there’s a “Full width” page template, or add one, or switch to a different theme.
    (You could use a CSS solution, too, however that’s not really robust and might not work everywhere. Just add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    #tablepress-3_wrapper {
      margin-left: -260px;
    }

    )

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Sorting and Formatting’ is closed to new replies.