-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
It would be nice if there was an optional way to force the plugin to show a sort icon on one of the columns on page load.
For example, say I have a table like this, and the initial sort is by Med. salary:
| Department | Employees | Med. salary | Med. exp. |
|---|---|---|---|
| Executive | 20 | $65,000 | 10.0 |
| Design | 13 | $54,000 | 7.0 |
| Support | 50 | $48,000 | 13.0 |
I'd like the downward arrow icon to display next to the Med. salary column header when the page loads ... to make it visually obvious how the table is initially sorted.
Maybe you could specify the default field as an optional extra value in the autosort tag? Something like:
{% autosort departments 'med_salary' %}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels