Infinite Scrolling with Primefaces Extensions FluidGrid

Community Driven Extensions Project
Post Reply
Sandy
Posts: 1
Joined: 21 Mar 2015, 15:34

21 Mar 2015, 15:38

Is there a way to implement infinite scrolling with primefaces Extension's Fluid-Grid Component?

The FluidGrid is working just fine, but I don't find a way to add new FluidGridItems on demand (while scrolling - end of page reached), without page reload.

Thanks for your answers

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

26 Mar 2015, 15:40

Adding items dynamically (e.g. on scrolling) as in the Timeline component is not implemented, but you can try to add items

1) to the list of FluidGridItem on the server-side
2) and use FluidGrid widget's method appended(elements) to add items on the client-side. See http://desandro.github.io/masonry/demos ... items.html

I hope it helps. Sorry, I have no time to provide a running example.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

juttt45
Posts: 2
Joined: 31 Mar 2015, 07:07

31 Mar 2015, 07:47

I don't find a way to add new FluidGridItems on demand (while scrolling - end of page reached), without page reload.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

05 Apr 2015, 12:15

If you really need it, you may consider PrimeFaces PRO http://www.primefaces.org/support.html
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests