Line border of hidden section are still visible

Hello,

A last final cut to my scheduler. I 'm using the display method to hide few section in some event’s type. But the lines are still visible…
Is there any solution to hide them too?

text.node.style.display = "none"; text.node.previousSibling.style.display = "none";

Thank you!

Hi,
try this line

text.node.parentNode.style.display = "none";

So simple!

Thank you!

And last but not least:

Is possible to just hide a line from a section but displaying the section content?

Thank you.

Hi,
the line added by bottom border of the previous section element. So you can simply make it transparent:

prevControl.node.parentNode.style.borderBottomColor = “transparent”;

Do the Gods of microships bless you!!

Thank you for the good job…