I use a jquery plugin called datatables (http://datatables.net/) which I find really useful, (and free).
It has a plugin called tabletools (also free) which may do what you want,
http://datatables.net/extras/tabletools/ for a demo
datatables is pretty easy to configure and has a support forum too.