13 Replies Latest reply on Apr 5, 2015 3:56 PM by Jonathan Laterreur

    RichFaces4: lazy loading with dataTable and dataScroller

    Ric Funk Newbie

      Hi,

      I actually couldn't find any useful solutions to this topic. So what is the right way to implement lazy loading in rf4? Obviously I don't want to load all the data on each request. Can I override parts of the dataScroller and dataTable model so I can at least come close to lazy loading? For example if I want to load e-mails to a dataTable I don't want to load all of them but maybe 10 at a time. I also don't want to hold open sessions to the mail server across requests. It would be great if anyone could give me some hints.

       

      10x