Open techiemon opened 8 years ago
Looks pretty easy to update the icon class based on state.direction.
https://github.com/fuzz-productions/Mortar-JS/blob/dev/lib/components/visualization/tables/SortButton.js#L67
Instead of this:
Might be nice to have a param to have a 3 position toggle , asc, desc and unsorted.
Makes sense to me. Good suggestion.
Looks pretty easy to update the icon class based on state.direction.
https://github.com/fuzz-productions/Mortar-JS/blob/dev/lib/components/visualization/tables/SortButton.js#L67
Instead of this:
Might be nice to have a param to have a 3 position toggle , asc, desc and unsorted.