It would be great if the paging report of a DataTable can be customized with the existing paginator attribute "pageReportTemplate".
Should I create a patch file that includes that feature and create a ticket?
DateTable pageReportTemplate support
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi,
Can you explain more please? We have the paginatorTemplate option in datatable.
Can you explain more please? We have the paginatorTemplate option in datatable.
I want to generate a localized/customized page report.
Now the DataTable always use the default pageReportTemplate : "{currentPage} of {totalPages} " -> "1 of 10".
I want to do something like this "Page 1 of 10" or "Seite 1 von 10".
Also see: http://developer.yahoo.com/yui/docs/YAH ... eport.html
Now the DataTable always use the default pageReportTemplate : "{currentPage} of {totalPages} " -> "1 of 10".
I want to do something like this "Page 1 of 10" or "Seite 1 von 10".
Also see: http://developer.yahoo.com/yui/docs/YAH ... eport.html
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Ok, now I got it, please create a ticket for this and link to this post. Patch is welcome as well.
I created a ticket http://code.google.com/p/primefaces/iss ... ail?id=870 with a attached patch file to be applied to the current svn trunk.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Ok, I've added currentPageReportTemplate attribute to datatable, datagrid and datalist as they all have built-in paginators, thanks for your feedback.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 32 guests