lorenzofox3 / Smart-Table

Code source of Smart Table module: a table/grid for Angularjs
http://lorenzofox3.github.io/smart-table-website/
1.8k stars 513 forks source link

Not assign `st-sort-ascent` on click #804

Open mzakshevskiy opened 6 years ago

mzakshevskiy commented 6 years ago

I have a table with sorting value. But if i i click to different, I need to click more than one times to assign class st-sort-ascent. Have any ideas why? I use Angular 1.5 And thanks for this plugin :)

lorenzofox3 commented 6 years ago

by default the sort sequence is ascent -descent - none. You can modify the sequence by providing the configuration attributes on your html element (or at the global config level):

when you click to another header the sequence of the current one will be reset.

If this is not what you are experiencing, please provide a running example. Thanks