1.21
Chrome Version 69.0.3497.72 (Official Build) beta (64-bit)
Looking for a way to have defaultSortBy sort the table by two columns, first by Date then by From. Tried with an array of objects. How could this be done?
No change, table is sorted by the first column only.
Pass an array in defaultSortBy, like this: :defaultSortBy="[{field: 'Date', type: 'asc'}, {field: 'From', type: 'asc'}]"
Any news about this ?
@dariagrudzien @pedroresende I'm looking into this there are a few considerations I need to take into account. Will update once I have made some progress.
@dariagrudzien sorty it took so long, but this is now implemented in v2.16:
https://xaksis.github.io/vue-good-table/guide/configuration/sort-options.html#initialsortby
in addition user can also shift-select multiple columns for multi-column sort
closing.
Most helpful comment
@dariagrudzien sorty it took so long, but this is now implemented in v2.16:
https://xaksis.github.io/vue-good-table/guide/configuration/sort-options.html#initialsortby
in addition user can also shift-select multiple columns for multi-column sort
closing.