In the past, i have used the below java snippet in Skuid to highlight a Field value. However, now i want to highlight the Field Label using a java snippet. If anyone has the code, can you please share it?
var field = arguments[0],
value = arguments[1],
$ = skuid.$;
if(field.metadata.accessible){
{
// do CSS stuff here…
field.element.css({‘background-color’:‘#58D68D’});
field.element.css({‘font-weight’: ‘500’});
field.element.css({‘border-radius’: ‘5px’});
field.element.css({‘font-family’: ‘Lato , sans-serif’});
}
skuid.ui.fieldRenderersrfield.metadata.displaytype]field.mode;
}