I have a really long table and I would like to make the header sticky on scroll
Handsontable by default keeps the headers on the top when you scroll.
Demo Handsontable example - JSFiddle - Code Playground
If it does not scroll like this in your application you might have some other styles that alter the behavior.