gridjs
gridjs copied to clipboard
Sort order for first click on column header
Is your feature request related to a problem? Please describe. I have a table with multiple columns where I'm interested in the different columns sorted in descending order.
Problem is that while clicking through those columns, I always have to click twice on the column header because the first click orders the data in ascending order first and on second click in descending order.
Describe the solution you'd like I'd like an option to set the default first sort order.
Something like:
sort: {
firstOrder: 'DESC'
}
Describe alternatives you've considered I've considered a custom sort function but this seems unnecessary.
Additional context No.