Can't you just put the headers in a different frame, above the canvas that scrolls? That should keep the table headers in place while you scroll through the contents of the table.