[Initialement, c'était juste pour avoir des sticky headers sur les tableaux…]
- Multi-tri: 'Shift' + clic colonne
- Annuler le tri: 'Ctrl' + clic colonne
Fixes #171 (closed) ?
Many tables in kfet app templates become sortable: account list, negative account list, article list, article inventory list, article supplier list, article category list, checkout list, checkout statement list, inventory list, inventory details, order list, order creation, order details.
This is achieved thanks to the jQuery plugin 'tablesorter': https://mottie.github.io/tablesorter/docs/
- Affected tables also got sticky headers (it stays visible on scroll).
- Dates format are modified in order to ease the date sorting with the plugin (it avoids writing a custom parser, or an extractor from additional hidden element in the table cells).
- Tables whose content is classified by category (of articles) now uses several tbodies. This has minor effects on the tables style.
- Tags of the header help signs become 'i', instead of 'span', in order to avoid weird spacing.