Open lrembacz opened 5 years ago
I am using VueRouter with new VueTable-2 from next branch. Good work BTW!
I had a problem with injecting sortOrder object into this vuetable from localStorage and I have used addSortColumn for that.
There is a BUG i think.
addSortColumn (field, direction) { this.sortOrder.push({ field: field.name, sortField: field.sortField, direction: 'asc' }); },
Shouldn't be direction taken from arguments?
For workaround there is a way to use it with
setSortColumnDirection (index, direction)
@lrembacz Thanks for the catch. Sorry for the inconvenience.
I am using VueRouter with new VueTable-2 from next branch. Good work BTW!
I had a problem with injecting sortOrder object into this vuetable from localStorage and I have used addSortColumn for that.
There is a BUG i think.
Shouldn't be direction taken from arguments?
For workaround there is a way to use it with