• Post Reply Bookmark Topic Watch Topic
  • New Topic

rich:scrollableDataTable and pagination

 
Anthony Sykes
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a scrollableDataTable and I need to implement pagination on it. I found an article that states you have to extend ScrollableTableDataModel. Could anyone provide examples on extending this class?
 
Lone Gunmen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to use specific features such as pagination on database level you should pass to the "value" of the <rich:scrollableDataTable> component an object which class extends org.richfaces.model.ScrollableTableDataModel.

http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_scrollableDataTable.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!