Skip to content

Releases: isg-software/tablesorter-pagercontrols

v1.6.0

25 Sep 15:12
Compare
Choose a tag to compare
  • Introduced Aria-Labels to the pager buttons for better accessibility
  • new option buttonLabelClass
  • Default CSS now contains flipLeft and rotateLeft classes which both can be used as values for the new buttonLabelClass option if the buttonLabels for the left buttons (first/prev) are in fact right-pointing.
  • Updated the template triangleIcons to use the same right-pointing arrow icon for all buttons and flip the left buttons using the aforementioned options and class. Old template conserved as triangleIconsOld.

new options forcePager and pagerOptions

22 Sep 14:26
Compare
Choose a tag to compare

Introduced two new options:

  • forcePager disabled the checking for a minimum table size,
  • pagerOptions lets you specify further options to pass through to the (internally called) tablesorterPager() plug-in.

These were added with the aim to support Ajax Pagers, but might have other useful applications as well.

Fix for short tables

11 Sep 18:26
Compare
Choose a tag to compare

The option classTableWrapper is now also applied to tables shorter than the minimum page size, i.e. to short tables that don't get equipped with a pager.
Reason: This option may e.g. be used to enable locally scrolling tables (the fullsize-scrolling example has also been updated to demonstrate this), and such features should always be applied, not only to larger tables with a pager.

scrolling template, classTableWrapper option

06 Sep 15:00
Compare
Choose a tag to compare
  • FIX: Default value for classInnerWrapper should have been null as documented, but wasn't.
  • NEW: Option classTableWrapper added.
  • NEW: Template scrolling supports wide, overflowing tables and equips them with horizontal scrollbar which only scrolls the table itself, while the rest of the page including the pager buttons stay put.

Bugfix

14 Mar 18:00
Compare
Choose a tag to compare

Fixed: When reloading a page and the pager restored the previously selected page, the plug-in would nonetheless always disable the back buttons even if not the first page was selected.

new template: tablewidth

14 Mar 12:36
Compare
Choose a tag to compare

While the "fullwidth" template required any table to span the whole page width (100% width), the new "tablewidth" template addresses tables that may be narrower than the page and aligns the controls with the table.

Varargs call

11 Mar 18:37
Compare
Choose a tag to compare

To simplify the application of templates (introduced in v1.1.0) varargs support has been added: You may now pass more than one argument, each being an object holding options. All these options will be merged internally.

The examples using templates (e.g. "fullwidth") have been updated: The user doesn't have to apply $.extend manually any more, it's now called internally for any argument.

added controlsOutput pattern and templates

24 Feb 21:26
Compare
Choose a tag to compare
  • New option controlsOutput for rearranging the controls (buttons, display, size select).
  • New fullwidth template is making use of this option.
  • New triangleButtons template.

Patch for argument-less call

12 Jan 10:33
Compare
Choose a tag to compare

The argument (object with options) is supposed to be optional, yet v1.0.0 threw an exception if no argument was given. Fixed and added an example page for this case.