Vuesax: vs-table default sort-key prop

Created on 9 Sep 2020  路  1Comment  路  Source: lusaxweb/vuesax

It`s nice ui-framework. Have a small question. Could you suggest, how can I set the default sorting key?

Most helpful comment

Hi,

I was having the same problem myself. And as far as I can tell, even with a look at the code, it is not possible.

Even changing by hand the currentSortKey and currentSortType variables does not seems to work.

But what about the sort(key, sortType) function? Same problem, it does not update the UI.

I am afraid that there is no solution or trick to avoid this.
The best you can do is to wait for an update.

>All comments

Hi,

I was having the same problem myself. And as far as I can tell, even with a look at the code, it is not possible.

Even changing by hand the currentSortKey and currentSortType variables does not seems to work.

But what about the sort(key, sortType) function? Same problem, it does not update the UI.

I am afraid that there is no solution or trick to avoid this.
The best you can do is to wait for an update.

Was this page helpful?
0 / 5 - 0 ratings