jsf - Is Primefaces DataGrid able for lazy loading? -


i created development startup code generjee online tool.

have selected datagrid data list style , have choosen lazy loading entities.

now i'm wondering if primefaces datagrid able lazily load data? in primefaces datagrid showcase there nothing lazy loading. feature supported? i'm new faces.

yes primefaces can lazy loading, this, have put attributes.

here example of lazy datagrid :

<p:datagrid var="car" value="#{carbean.cars}" columns="3" rows="12" paginator="true" lazy="true"> ... </p:datagrid> 

value="#{carbean.cars}" : list of backing bean
lazy="true" : allow lazy loading
rows="12" : number of items load in lazy
paginator="true" : activate pagination


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -