| Author |
Scrolling problem with JSF
|
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
Well I think it's actually a HTML related query, hence posting here : I have a dataTable code in JSF like this : The facet is creating the Header and outputtext is creating the rows. The above code is rendered as follows : Now I want to add a div tag or something .. to enable scrolling without moving the header of the table. Can anyone suggest how to do that? I can't add div tag enclosing the table as it would make the header also scrollable. I wolud like to know is it possible to add div or something just in the body tag to allow scrolling of the body only.
|
- Varun
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
what people normally do is set the header in one table and the body in another table making the bottom portion scrollable. Eric
|
 |
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
Seems I have to use that way only. Wherever I search , I found this solution only (double table one).
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
|
This is an older post, the last two links might help you out a bit
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
ugh: URL: http://www.coderanch.com/forums/ Eric
|
 |
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
|
Thanks ... Good link.
|
 |
 |
|
|
subject: Scrolling problem with JSF
|
|
|