wood burning stoves 2.0*
The moose likes JSP and the fly likes How to fix the header constant while scrolling 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 » JSP
Bookmark "How to fix the header constant while scrolling" Watch "How to fix the header constant while scrolling" New topic
Author

How to fix the header constant while scrolling

Sanjeev Gowda
Greenhorn

Joined: May 27, 2005
Posts: 5
Hi to all the java masters,
I am using

"<display:table name="requestScope.Listname" style sort="page" pagesize="200" uid="ftbList" defaultorder="ascending" requestURI="/DTC/ftb.do?dispatch=display">"

to display the values got from the database using

"<display:column sortable="true" property="ID" nulls="true" title="ID" />"

Inside a <div> and the <div> size is just 250 px (i am not supposed to change the size of the div
Since the data is more the vertical scroll bar comes and when i scroll the header also moves. I want to set the header fixed when scrolled or in other words i want to remove the scroll for header, i am not supposed to increase the pagesize. So please tell me how i can achieve this please

Thanks in Advance
Sanjeev
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
One solution is to have a separate <iframe> for header and data.


My blood is tested +ve for Java.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60789
    
  65

This has nothing to do with JSP. Please be more careful about which forum you post your questions in.

Moved to the HTML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: How to fix the header constant while scrolling
 
Similar Threads
disable overflow to inner div element if outer div uses overflow hidden
how to get the column total for the paginated records?
Using display tag in struts
How to Detect the Highlighted Row Has Reached the Top of a Table?
How to fix the header constant while scrolling