Sort bt default
waister opened this issue · 7 comments
waister commented
Sort with "data-sort-default" is not working.
joequery commented
Can you please provide code so we can replicate the issue?
waister commented
<table>
...
<th data-sort="float" data-sort-default="desc">float</th>
...
</table>
<script>$("table").stupidtable();</script>
ticktoo commented
+1
yairEO commented
issue title is misleading. it should be: setting default sort direction attribute has no effect
joequery commented
The default direction of the sort occurs. The attribute does not indicate that the table will initiate sorting upon page load. Whether that should be its own option would be a separate issue.