I am trying to implement hide-when formulas for table rows on the web. I want to use client side javascript, rather than server-side hide-when @formulas.
I’ve discovered the use of id tags to hide elements
document.getElementById(‘idName’).style.visibility=‘hidden’;
This works fine for table cells (using the “cell html tags” attribute of the table) but I can’t work out how to hide a whole row at once. There doesn’t seem to be a way to give a table row an id tag. The “row tags” attribute doesn’t seem to work…
What is the standard way to do this? (I’m new to browser programming) Is the best way to generate the table html yourself, and not use notes tables at all?
Any help appreciated