Hi - I am wondering if you are able to place a conditional script on a dynamic table to hide a row if two values meet the criteria? I am able to come up with something that hides the whole table but need it to hide just the rows it effects. For example I have three columns and if Allocations and Tolerance equal 0 then I need to hide that particular row. What I have so far is below:
results.each(function(index) {
var Allocation = record.tables[“PeerGroup”][0].fields[“Allocation”];
var Tolerance = record.tables[“PeerGroup”][0].fields[“Tolerance”];
Try the script below. Change the selector to match the table rows in the tbody section of your table. The script iterates over the rows and uses that index to retrieve the respective values from the detail table. In case the values match it will hide the current table row (this).