Frontmatter
| id | 367 |
| title | Neo.table.header.Button: defaultSortDirection config |
| state | Closed |
| labels | enhancementgood first issuestale |
| assignees | [] |
| createdAt | Mar 24, 2020, 9:05 PM |
| updatedAt | Sep 28, 2024, 4:31 AM |
| githubUrl | https://github.com/neomjs/neo/issues/367 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 28, 2024, 4:31 AM |
type String, values ASC, DESC, default ASC
onButtonClick() => in case the value is DESC, change (reverse) the order.
replacing the switch statement with a map might be the way to go.