Support » Plugin: TablePress » create order button

  • Resolved neko-chan

    (@motokisan)


    I want to create the following buttons.

    Ascending order button
    Descending order button

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure that I understand. Please explain this in more detail, maybe with a link and an example.

    Note that sorting/ordering columns is possible by clicking on the table header cells.

    Regards,
    Tobias

    Thread Starter neko-chan

    (@motokisan)

    Is it possible to represent it with a button instead of a header cells?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no, sorry, I’m not aware of an easy way for that. You would need custom JavaScript code that e.g. then triggers a click on the header cell, when the button is clicked.

    Regards,
    Tobias

    Thread Starter neko-chan

    (@motokisan)

    Thank you, I will write the javascript.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, no problem! I hope that you can find a good solution!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.