This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes How to fix the header constant while scrolling Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 56185
    
  13

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

Moved to the HTML forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
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 Detect the Highlighted Row Has Reached the Top of a Table?
How to fix the header constant while scrolling
Using display tag in struts
how to get the column total for the paginated records?