mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-09 01:12:38 +02:00
Updated 1.07 Rows counter (markdown)
parent
dd05f701a1
commit
987568fb95
|
@ -116,7 +116,7 @@ var tfConfig = {
|
|||
<td>callback fired before rows counter is refreshed</td>
|
||||
<td>note that 2 parameters are passed to the callback function:
|
||||
<ul>
|
||||
<li>o is the current TableFilter instance</li>
|
||||
<li>tf is the current TableFilter instance</li>
|
||||
<li>elm: DOM container element displaying rows counter</li>
|
||||
</ul>
|
||||
</td>
|
||||
|
@ -125,7 +125,11 @@ var tfConfig = {
|
|||
var tfConfig = {
|
||||
rows_counter: {
|
||||
on_before_refresh_counter: function(tf, elm) {
|
||||
console.log('Before rows counter is refreshed', tf, elm);
|
||||
console.log(
|
||||
'Before rows counter is refreshed',
|
||||
tf,
|
||||
elm
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -149,7 +153,12 @@ var tfConfig = {
|
|||
var tfConfig = {
|
||||
rows_counter: {
|
||||
on_after_refresh_counter: function(tf, elm, tot) {
|
||||
console.log('After rows counter is refreshed', tf, elm, tot);
|
||||
console.log(
|
||||
'After rows counter is refreshed',
|
||||
tf,
|
||||
elm,
|
||||
tot
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue