Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82027

API #fnSortNeutral - Get Trigger if sorting?

$
0
0
hi, how may i do this:

the user clicks onto a row and starts the sorting. i want to display a <span id="sorted">Remove Order</span> button AFTER he sorted the table away from standard sorting. i managed to hide the span #sorted after http://datatables.net/plug-ins/api#fnSortNeutral was called. the function works fine and returns to original sorting ... but how do i trigger the initial klick by the user on any row of the table to SHOW the hidden span #sorted again? so the "remove order" span only appears when something is sorted by the user???

hopefully u understand ... :)

thanks for any help ... stefan

Viewing all articles
Browse latest Browse all 82027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>