• MaxD

    (@max-dayala)


    Hi, looking at this plugin I had to delve into the code to find out how it works.

    Here is my summary for version 2.3.

    The underlying table sorting is carried out by the JQuery tablesorter plugin.

    The minified verson of the plugin that is included is version 2.26.5, released 28/6/2016. (The unminifed version included with the plugin looks to be a very ancient version that doesn’t match the minified version.)

    See here for the latest version and full documentation:
    https://www.npmjs.com/package/tablesorter
    https://mottie.github.io/tablesorter/docs/

    Look at the built in parsers that explains how to force the correct sorting of various common column types, such as dates. If you don’t specify a parser it will try to “guess” the correct type, so might get it wrong if your data contains characters such as %, £, $, etc.
    https://mottie.github.io/tablesorter/docs/example-option-built-in-parsers.html

    Are there going to be any updates to the included tablesorter plugin? The current version is 2.32.0 released on Aug 14 2024.

    Ta.

The topic ‘Documentation and updates’ is closed to new replies.