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

"zebra" not working if filtering collapsed groups. #1156

Closed
a-mair opened this issue Feb 15, 2016 · 2 comments
Closed

"zebra" not working if filtering collapsed groups. #1156

a-mair opened this issue Feb 15, 2016 · 2 comments
Labels

Comments

@a-mair
Copy link
Contributor

a-mair commented Feb 15, 2016

Hi,

I'm using the "zebra", "filter" and "grouping" widgets together. Opening collapsed groups will show a wrong "zebra" if filtering happened while they had been collapsed.
Might be due to only selecting tr:visible rows in the zebra widget. Maybe you shouldn't rely on ":visible" as this might have performance implications (see http://api.jquery.com/visible-selector/) and move to a CSS class to identify rows that are not filtered but hidden due to another reason?

Regards,
Andreas

@Mottie
Copy link
Owner

Mottie commented Feb 15, 2016

Hi @a-mair!

Actually the :visible selector is necessary, especially when striping filtered rows.

I am seeing this same issue, so I think I'll just reapply the zebra widget when collapsed groups are opened up.

@a-mair
Copy link
Contributor Author

a-mair commented Feb 16, 2016

@Mottie: thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants