Fixed header,sortable,scrollable Table

I want to design a  table with fixed header, scrollable(only vertical scrolls) & sortable table in my jsp with help of css & javascript.The table width attribue should be only in % not in pixels.
I want to have a genric code so that it suits for n number of column.
Please help me.
Who is Participating?
Tomarse111Connect With a Mentor Commented:
Try this and view the source code:

Seems to do eveything you require.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.