Hi,
I want to show the dates as a paginator. Is there any way to do this for datatable or datagrid?
I wanted to create one week as one page like:- |<< < Jul 24- Aug 01 > >>|.
On click of next button it should change week.
Regards
uday.nalla
How to use date as paginator?
-
- Posts: 9
- Joined: 06 Aug 2013, 14:28
PrimeFaces 4.0 | Jboss AS 7.1.1 | Mojarra 2.1.18
Windows XP | Firefox 25.0
Windows XP | Firefox 25.0
- andyba
- Expert Member
- Posts: 2473
- Joined: 31 Mar 2011, 16:27
- Location: Steinfeld, near Bremen/Osnabrück, DE
- Contact:
You should consider using Dates as filter criterion and not as Paginator options for the simple reason that a range of Dates may produce more than 1 page of data.
Or you can do way with the paginator altogether and simply display all data on the page depending on the Date range set.
You could probably do something interesting with Schedule for this too.
Or you can do way with the paginator altogether and simply display all data on the page depending on the Date range set.
You could probably do something interesting with Schedule for this too.
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
-
- Information
-
Who is online
Users browsing this forum: No registered users and 37 guests