Navigation überspringen

[Gelöst] Views table sort without page reload

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
How to sort table on screen without page reload?

Solution:

There isn't such kind of built-in feature within Toolset plugins, each time you resort the result in frontend, Views need to query the database again, and get the sorted results, setup the pagination as well.

If you don't need pagination, you can consider custom codes, for example:

https://www.w3schools.com/howto/howto_js_sort_table.asp

Relevant Documentation:

This support ticket is created vor 2 Jahren, 10 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Tiit Sau vor 2 Jahren, 10 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#2317983

Hi,

I guess there is a way to sort table on screen without page reload. Mine makes full refresh.

Tiit

#2318125

Hello,

There isn't such kind of built-in feature within Toolset plugins, each time you resort the result in frontend, Views need to query the database again, and get the sorted results, setup the pagination as well.

If you just need one page of pagination , you can consider custom codes, for example:
versteckter Link

You need to output the views result with HTML codes according to above document.

#2318151

My issue is resolved now. Thank you!