One collumn locking



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


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.

Hope that helps,
~ Brad


Thank you Brad it is working fine !
Best regards


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