Freeze header row


#1

Sir is it possible to freeze table header row?

I am trying to freeze header row in scrollable div.
Please see my codes here

https://jsfiddle.net/nqdzpdjz/21/

I want header row with green color must remain in its place when I scroll the div.

Please help


Untitled.png


#2

Here you go. http://bfy.tw/ATJs


#3

Good Joke.

Google does not have reply to my answer.
When I FIX header row, it does not stretch with tbody td.

Googling for the last 3 days when failed then i posted here.
But faced good joke.

Anyway thanks