mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Output: Automatically ignore widget added rows
e.g. Grouping widget headers
This commit is contained in:
parent
552905e840
commit
c9e77837c1
2
dist/js/widgets/widget-output.min.js
vendored
2
dist/js/widgets/widget-output.min.js
vendored
File diff suppressed because one or more lines are too long
@ -145,8 +145,8 @@
|
|||||||
});
|
});
|
||||||
headers = output.processRow(c, $this, true, outputJSON);
|
headers = output.processRow(c, $this, true, outputJSON);
|
||||||
|
|
||||||
// all tbody rows
|
// all tbody rows - do not include widget added rows (e.g. grouping widget headers)
|
||||||
$rows = $el.children('tbody').children('tr');
|
$rows = $el.children('tbody').children('tr').not(c.selectorRemove);
|
||||||
|
|
||||||
// check for a filter callback function first! because
|
// check for a filter callback function first! because
|
||||||
// /^f/.test(function(){ console.log('test'); }) is TRUE! (function is converted to a string)
|
// /^f/.test(function(){ console.log('test'); }) is TRUE! (function is converted to a string)
|
||||||
|
Loading…
Reference in New Issue
Block a user