I’m building an app that needs to hide consecutive rows. Currently I’m using this:
#mytable tr.collpaserow + tr,
#mytable tr.collpaserow + tr + tr,
#mytable tr.collpaserow + tr + tr + tr {
display: none;
}
This allows me to hide up to 3 more consecutive rows. What I want is to hide all possible consecutive rows no matter what depth with Jquery.
Can you try this?
http://api.jquery.com/nextAll/