Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added sort_start and sort_end events

  • Loading branch information...
commit 2ef16ffaf26b2f4f830582704043bd82c5000f2d 1 parent db37215
Brian Cray authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 taboosorter.js
View
6 taboosorter.js
@@ -71,8 +71,12 @@
sort: function (index) {
var t = this;
- index = index || t.settings.initial_column;
+ index = index || t.settings.initial_column,
+ el = $(t.el);
+
+ el.trigger('sort_start');
t._sort_column(index);
+ el.trigger('sort_end');
},
_listen: function () {
Please sign in to comment.
Something went wrong with that request. Please try again.