Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter_childRows not working correctly with multiple levels #1828

Open
JumpmanJunior opened this issue Nov 24, 2022 · 0 comments
Open

filter_childRows not working correctly with multiple levels #1828

JumpmanJunior opened this issue Nov 24, 2022 · 0 comments

Comments

@JumpmanJunior
Copy link

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 JumpmanJunior changed the title filter_childRows not working correctly with than 2 levels filter_childRows not working correctly with multiple levels Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant