Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scrollbar javascript

 
Li Jenny
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic