dataview w/ fixed header need it to scroll horizontally

M

mb

I know this sounds strange, but I have set up a dataview with a fixed
header, so the header does not scroll up with the rows of data.
However, I need the header to scroll horizontally (not vertically)
when the dataview does. Is it possible to do?

Thx
 
B

bruce barker

it can be done, but its a little tricky.

you bust the view into two divs, one with the header, and one with the
scrolling data. then with javascript be sure the columns are the same width
(or defined fixed with overflow set to hidden, scroll, or auto). then with
javascript you scroll the header to match the content.

this is an advanced dhtml/javascript coding task, so you will need to get a
book on javascript coding. you can also google for scrollable tables to get
sample code.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top