mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
added sortBegin event
This commit is contained in:
parent
532aa16f31
commit
ce8ae429c7
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* TableSorter 2.0 - Client-side table sorting with ease!
|
* TableSorter 2.0 - Client-side table sorting with ease!
|
||||||
* Version 2.0.20.1
|
* Version 2.0.21
|
||||||
* @requires jQuery v1.2.3
|
* @requires jQuery v1.2.3
|
||||||
*
|
*
|
||||||
* Copyright (c) 2007 Christian Bach
|
* Copyright (c) 2007 Christian Bach
|
||||||
@ -676,6 +676,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// sortBegin event triggered immediately before the sort
|
||||||
|
$this.trigger("sortBegin", tbl[0]);
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
// set css for headers
|
// set css for headers
|
||||||
setHeadersCss($this[0], $headers, config.sortList, sortCSS);
|
setHeadersCss($this[0], $headers, config.sortList, sortCSS);
|
||||||
|
4
js/jquery.tablesorter.min.js
vendored
4
js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user