One collumn locking


#1

Hi

I have a large set of data into a html table, wich i am using to scroll both x and y.

How to lock just the first collumn, and the first row, while the other columns can scroll into x and y position?

I just need to know from where the cell data belongs to! from wich first column and wich first row.

Thank´s in advance


#2

The following JSFiddle will show you how to lock the first column very easily. You should be able to adapt it to lock the first row as well.

http://jsfiddle.net/DJqPf/7/

Hope that helps,
~ Brad


#3

Thank you Brad it is working fine !
Best regards


#4

Actually, here’s another example that locks both the header and the first column which may be more of what you’re looking for. It uses a bit of jQuery but you can adapt it to use straight Javascript:

~ Brad