Hello,
I'm curious if there is a way to set the default sort order on a dynamic column for a data table.
For example, in your Cars test web app, using the p:columns, I want to be able to have the Year column sort by newest to oldest cars on first click rather than oldest to newest, while keeping ID and Brand sorted in ascending order.
Any help on this would be appreciated.
Thank you!
Default sort order on a dynamic column in a data table
-
- Posts: 2
- Joined: 10 Oct 2016, 19:54
PrimeFaces v6.0
Mojarra v2.2.7
GlashFish Server v4.1
Mojarra v2.2.7
GlashFish Server v4.1
-
- Posts: 2
- Joined: 10 Oct 2016, 19:54
Sorry guys, I forgot to share our set up:
PrimeFaces version 6.0
JSF Mojarra version 2.2.7
GlashFish Server 4.1
PrimeFaces version 6.0
JSF Mojarra version 2.2.7
GlashFish Server 4.1
PrimeFaces v6.0
Mojarra v2.2.7
GlashFish Server v4.1
Mojarra v2.2.7
GlashFish Server v4.1
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 6 guests