Ok, no error…it is applying the class but now it’s not changing the color of the row.
Here is my CSS:
tbody.nx-skootable-data tbody tr.LeadTab_highlighted-row { <br> background-color: #F05423;<br>}
Here is Matt’s snippet:
var field = arguments[0], value = skuid.utils.decodeHTML(arguments[1]),<br>jsDateValue = skuid.time.parseSFDate(value);<br>skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value); <br> if (field.mode == 'read' && (jsDateValue < new Date() )) <br> { <br> field.item.element.addClass("LeadTab_highlighted-row");<br> }
Again, I’m successfully using this on other pages with that CSS…so I don’t think the issue is with the CSS.