datalist pagination

UI Components for JSF
Post Reply
N1k0l4
Posts: 6
Joined: 19 Jun 2014, 09:11

10 Oct 2014, 11:18

Hi,

How to set paging in priemfaces mobile datalist?

I have next simple code:

Code: Select all

<h:form id="viewForm">
			<p:dataList id="list"  paginator="true" rows="5" effectSpeed="fast"  
                rowsPerPageTemplate="5,10,15"
				value="#{myBean.objects}" var="object">
				<p:column>
				#{object.code} 
				</p:column>
			</p:dataList>
		</h:form>
All 170 items is shown in one table without paging.
I don't know what to try anymore

soekris
Posts: 76
Joined: 29 Apr 2013, 16:54
Location: Barcelona

10 Oct 2014, 17:11

As far as I know it's not working, at least with primefaces 5.0
Primefaces 5.3.X / 6.X
NetBeans 8.1
WildFly 10
Linux Mint & freeBSD

N1k0l4
Posts: 6
Joined: 19 Jun 2014, 09:11

13 Oct 2014, 08:26

Hm...
Thanks. Is there any trick to implement this? Or some lazy loading?
I believe that data filter does not work too?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

27 Oct 2014, 10:58

It will be available in 5.2, since we have created a paginator for DataTable;

http://blog.primefaces.org/?p=3326

We'll port it to DataList as well.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 33 guests