Creating a fixed header (not specific to ActiveWidgets)
What I'd like to do is make a fixed column header row like there is in AW that doesn't scroll if scrolled vertically, but moves along with the rest of the data when scrolled horizontally. I have tried to take a look at the source you so gracefully provide, but I had no luck.
Can anyone at least point me in the right direction?
Actually you just have to listen to onscroll event in one DIV and modify scrollLeft/scrollTop properties of another...
I tried looking at that page, and I think i understand how it works, but I can't replicate it myself. What i've got is a container div (which has the CSS property overflow: auto to make the scrollbars) and two inner divs (header and contentArea). On the onscroll event on container, I edit the scrollTop and scrollLeft attributes of the other two, but the header div still moves vertically.
Any ideas what I might be doing wrong?
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.