Forums

WP-Table Reloaded
[resolved] wp-table-reloaded - sort by several criteria (3 posts)

  1. koostamas
    Member
    Posted 11 months ago #

    Greetings

    I use (and I like) wp-table-reloaded.
    I am making a schedule time table. The data should be sorted by
    - day
    - hour
    - prof

    How can I sort via several criteria?
    And how may the visitor do it so on the frontend?

    http://www.r-de-danse.com/jumet/horaire/

    Thanks,

    Tamas

  2. TobiasBg
    Member
    Posted 11 months ago #

    Hi,

    thanks for your questions.
    Unfortunately, such more complex sorting criteria are not possible on the "Edit" screen of the table, you can only sort "strings" there, but not the more complex structures.

    On the frontend, you would need a custom filter for the "DataTables JavaScript library", to implement a sorting behavior that extends the current sorting. Unfortunately, that is not easy to do, but you might want to take a look at the documentation at http://www.datatables.net as a start.

    Best wishes,
    Tobias

  3. koostamas
    Member
    Posted 11 months ago #

    Thanks!
    Oké, I understand, that what I wanted was complex.
    Well, I think we can "live without it".
    :)

    Greetings,

    Tamas

Reply

You must log in to post.

About this Plugin

About this Topic