aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes scrollbar javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "scrollbar javascript" Watch "scrollbar javascript" New topic
Author

scrollbar javascript

Li Jenny
Ranch Hand

Joined: Apr 19, 2010
Posts: 57
i have create a table with 1 col and 3 rows
the 1st row is title name
the 2nd row is the header row
the 3rd row is the content.

when i scroll the scrollbar to the right at the bottom of the table, the header is also move to right.

i would like to ask,how can i scroll the scrollbar to right,how can i fix the 1st row??
kv ruby
Ranch Hand

Joined: Jul 23, 2009
Posts: 38
Li Jenny wrote:i have create a table with 1 col and 3 rows
the 1st row is title name
the 2nd row is the header row
the 3rd row is the content.

when i scroll the scrollbar to the right at the bottom of the table, the header is also move to right.

i would like to ask,how can i scroll the scrollbar to right,how can i fix the 1st row??



try using a static header and then put next two rows in a table with scrollbar.this is not the perfct solution but this is what we did in our project as an alternative.


Regards, ruby kv
rubyshiv.blogspot.com
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
It is not an easy task. You might want to look at something like jqgrid: http://trirand.com/blog/jqgrid/jqgrid.html

One day I should be able to open source my grid when it is fully done.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scrollbar javascript