tablesorter icon indicating copy to clipboard operation
tablesorter copied to clipboard

filter_childRows not working correctly with multiple levels

Open JumpmanJunior opened this issue 2 years ago • 0 comments

If I create a table with multiple levels of parent and child rows, activate filter_childRows and filter_childByColumn and then try to filter by a value in one child row on the lowest level this row and the highest parent are displayed but not the rows in between.

Example: Row A Row B - child of row A Row C - child of row B

If i then filter for a value in row C row A and row C are displayed. But it would be correct if all 3 rows were displayed.

This is the configuration I am using:

$("table").tablesorter({
  sortList: [[0,0]],
  widgets: ['zebra', 'filter'],
  widgetOptions : {
    filter_childRows : true,
    filter_childByColumn : true,
    filter_columnFilters: true,
    filter_childWithSibs: false
  }
});

JumpmanJunior avatar Nov 24 '22 19:11 JumpmanJunior