gs_sortable is a simple javascript code that sorts table data. The script has the following features:php_writeexcel est une libraire javascript open-source.
- The script automatically adds links to column names.
- It sorts the table in ascending order of columns' data and displays up arrow after a column name when the column name is clicked. Clicking on the name again sorts the table in descending order and displays down arrow.
- The script can sort column data containing text, integer numbers and floating-point numbers.
- Multi-column sort: The script remembers what columns were selected before and their sorting order. When the script sorts the data in primary (currently selected) column and finds that two rows have the same column data, it uses data from previously from selected columns to determine the order of columns.
Site : http://www.allmyscripts.com/Table_Sort/index.html
Ma contribution : tri sur une valeur spécifique, tri sans accent et multitable.
Je suis en contact avec Gennadiy Shvets à ce sujet, mais en attendant, vous pouvez télécharger le package avec mes ajouts via le lien ci-dessous :
Download: gs_sortable-1.3md.tar.gz
Un exemple / Une démo