This content has been marked as final.
Show 1 reply
-
1. Re: rich:scrollableDataTable and loading of data into the se
andreas_back Mar 26, 2008 8:52 AM (in response to andreas_back)Hello!
For working with large tables with for example 160000 rows I tried the following:
1. The method getAllArticles returns a ListDataModel.org.richfaces.model.impl.ListDataModel
2. The lazy loading list is wrapped by the ListDataModel:public ListDataModel getAllArticles() {
synchronized (this) {
if (allArticles == null) {
allArticles = new ListDataModel(LazyLoadingList.buildLasyLoadingList());
}
}
return allArticles;
}
Now the scrollableDataTable seems to pull only the rows that are actually
scrolled by the user.
Greetings
Andreas