This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Sorting in Datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Sorting in Datatable" Watch "Sorting in Datatable" New topic

Sorting in Datatable

Ashok Kumar

Joined: Oct 03, 2007
Posts: 7

Am having 5 datatables with sorting in the header of the each column in my page.
When i click the 5th datatable header link, that table is present at the bottom of the page.Sorting works fine but the page goes the top not focusing on the same 5th datatable.
Am using default sort of the JSFTable.

Can you please help how to set the focus to that particular datatable?
It is sorta covered in the JavaRanch Style Guide.
subject: Sorting in Datatable
Similar Threads
Sorting in h:dataTable
adding an empty row to a datatable
Problem of data overlapping while moving form Landscape to Portrait.
sorting datatable
Fixed Header on Tables?