Due to popular demand I've taken the jquery.tablesorter.pager plugin and modified it:
- to handle paging better ("button links");
- adding pagination size options;
- apply simple (table wide) filtering;
- added functionality to export the current table contents as excel, csv, tab, json ... format;
All these are driven by additional classes on the table:
- "filter" - add a simple text filter;
- "paginate_.._.._.._.." where the ".." are replaced by the number of rows to display (or "all")
To note which entry you wish as default prefix it with "x" e.g.
paginage_10_x25_50_all gives you 4 options, 10 per page, 25 per page, 50 per page and "all" and sets the default to 25; - "export_.._.._.._.." where ".." are replaced by formats currently (json, txt, csv & xls)
e.g.
export_txt_csv_xls