For the record, I didn't have much luck with this, no doubt due to my
own ignorance.
I created two grids, the leftmost grid just has a single column,
styled to look the same as the header row. The rightmost grid just
contains its header row and then a bunch of empty rows.
Disabling the vertical scrollbar of the leftmost grid I achieved by
setting its overflow-y to "hidden". So it already looks like Excel. So
far, so good.
When it comes to scrolling, though, I was unable to get it to behave.
I passed the leftmost grid into the rightmost grid as a new option. I
had hoped that I could add some code to 'handleScroll' or something,
that would set the leftmostGrid.currentScrollTop to be the same as the
rightmostGrid currentScrollTop, and everything would just magically
work.
Sadly, it didn't seem to have any effect - the leftmost grid never
moved.
I don't really know what I'm doing. With hindsight, this whole
approach probably wasn't such a good idea. Time for me to go hit the
javascript and DOM books. Wish me luck.
Jonathan