dataTable liveScrolling LazyDataModel

UI Components for JSF
Post Reply
yapfa
Posts: 22
Joined: 18 Oct 2011, 11:49

20 Oct 2011, 12:28

Hey there!

I'm a little confused by the showcase description regarding lazy loading/live scrolling
DataTable - Lazy Loading wrote:In order to enable lazy loading, a LazyDataModel needs to be implemented to query the datasource when pagination, sorting, filtering or live scrolling happens.
However the scrolling examples do not use a custom DataModel at all?

This means that I have to load and keep all rows within by bean, right? That does not seem to be a good approach. How come that live scrolling does not use a custom DataModel like lazy loading as well? Or is there an option to do so which I just haven't found yet?

ulric2
Posts: 11
Joined: 03 Jan 2011, 23:30

20 Oct 2011, 23:31

I agree with you
I met the same pb and exposed my tries in this forum with no answer for the moment

viewtopic.php?f=3&t=15524&p=47388&hilit=lazy#p47388

scrolling and lazyDataModel would be an amazing solution, more easy to use and scrolling dataTable can be resized to use the whole area of the page dynamically.

At least I would like to know if it is possible, or planned for future...
PrimeFaces 3.0.M4, Glassfish v3.1.1, Mojarra 2.1.3 (FCS b02), Eclipse Indigo

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests