You should take a look at
https://datatables.net/
I am using that on my table in
JSP.
There is tons of nice features like:
- sorting (asc/desc with icons for them and you can disable it for columns you dont want it on)
- dropdown with number of threads displayed on each page
- label that displays message like "Showing 1 to 10 of 69 entries" and when you go to next page it will show "Showing 11 to 20 of 69 entries"
- search (you can choose which fields sould be searchable and it can search in multiple)
You can also customise the look of it.
Takes a little time to learn to use, but when you have it under control you will never go back to a non jQuery powered table
The sky is the limit.
I have also added images and update and delete buttons in mine that works perfectly fine.
jQuery for the win!