Sorry, we don't support your browser.  Install a modern browser

Table layout: change sort via column headers

Clicking a column header sorts all entries by that column (toggling between ASC and DESC)

4 years ago
3

This is a must have feature for the table layout.

It could be active by default or enabled/disabled on each column using sortable: true, like @Sylvain Julé did on his pagetable plugin.

4 years ago
4
?

same here. But if the table included in Kirby could handle: Column sorting + filtering, it would be awesome!

4 years ago
2
H

Same here and still missing this feature in v4 since Sylvain’s plugin is not maintained for v4.

2 years ago

I can’t understand why this feature is still missing in v4. Must have!

2 years ago
S

This seems to be an obvious thing!

2 years ago

For some context: the tricky thing here are paginated sections/tables. There we cannot do the sorting simply in JS as the component often will only receive the data of the current page. So when clicking on a header, the sort column and order would need to be sent to the backend which then returns updated rows. This isn’t as easily implemented.

2 years ago

Some news about this feature? I’m currently running version 5.0.3

a year ago
1
H

The sorting in Sylvain’s plugin function was so useful, sad that this function couldn’t be transferred and is still not available in the table-view. Some clients can’t do without this feature. So I have to stick there with Kirby 3 and Sylvain’s plugin :-( Is there another way to sort page-sections in the backend on client-side?

a year ago
1