I am using smart-table to show a list of possible matches. When a row is selected, it then shows the next list of possibilities.
By default, the table is sorted by a "ranking" column. Its possible for the user to click a different header and have it sorted by that column instead.
After a row has been selected, and the next results are loaded, is it possible to reset the st-sort back to what it was initially? I've searched the github for terms like "reset sort" and I haven't been successful.
I worked it out.
Use this directive:
Then add these attributes on your
trin your ng-repeatIn my case I'm sorting by a function, and it works well.