Difference between revisions of "Table sorting"

Jump to navigation Jump to search
6 bytes added ,  09:11, 6 January 2023
no edit summary
Line 1: Line 1:
A table that is sortable is identified by arrows to the right of the header in a header cell. A sortable table may be sortable by one or more columns in the table. Clicking an arrow sorts the table rows based on the selected column. Repeated clicking of an arrow changes the sort state in this sequence: Ascending, Descending, Unsorted.
A table that is sortable is identified by arrows to the right of the header in a header cell. A sortable table may be sortable by one or more columns in the table. Clicking an arrow sorts the table rows based on the selected column. Repeated clicking of an arrow changes the sort state in this sequence: Ascending, Descending, Unsorted.


Shift-clicking the arrows of other columns will trigger a secondary sort based on the most recent column on which the shift-click occurred. NB: Shift-clicking capability extends to tertiary and beyond.
'''Shift-clicking the arrows of other columns will trigger a secondary sort based on the most recent column on which the shift-click occurred.''' NB: Shift-clicking capability extends to tertiary and beyond.


Below you find an example to test the sort-function:
Below you find an example to test the sort-function:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu