Output: Automatically ignore widget added rows

e.g. Grouping widget headers
This commit is contained in:
Rob Garrison 2016-07-13 11:04:51 -05:00
parent 552905e840
commit c9e77837c1
No known key found for this signature in database
GPG Key ID: 0A42D160D71978E1
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -145,8 +145,8 @@
});
headers = output.processRow(c, $this, true, outputJSON);
// all tbody rows
$rows = $el.children('tbody').children('tr');
// all tbody rows - do not include widget added rows (e.g. grouping widget headers)
$rows = $el.children('tbody').children('tr').not(c.selectorRemove);
// check for a filter callback function first! because
// /^f/.test(function(){ console.log('test'); }) is TRUE! (function is converted to a string)