This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSF and the fly likes Using Page Scroller in Data Table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Using Page Scroller in Data Table" Watch "Using Page Scroller in Data Table" New topic

Using Page Scroller in Data Table

aanshu gupta

Joined: Feb 08, 2010
Posts: 23
Hi all,
i have a datatable which contains thosands of records. i am getting the datatable.
But i want to have a scroller so that a user sees only a fixed amount of records per page.
Also i would like to have a search facility in datatable.
Can anyone guide me in this??
Thanks in advance..
Anshu Gupta

Anshu Gupta, Persistent Systems Limited, India
SCJP 5.0, SCWCD 5.0
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17257

You will need to use one of the extension tagset products to do that. Data scrollers aren't part of the core JSF.

MyFaces Tomahawk provides a datatable scroller, as does RichFaces. RichFaces also has an extended datatable tag that supports some table sort and filter capabilities.

An IDE is no substitute for an Intelligent Developer.
It is sorta covered in the JavaRanch Style Guide.
subject: Using Page Scroller in Data Table
It's not a secret anymore!