Skip to main content

I have the following field render that changes the background color of a field in a field editor. I also need to change the background of the label. Is that possible using a custom renderer?


var field = arguments[0], value = arguments[1], $ = skuid.$; var PriorityColor = field.row.PriorityColor\_\_c; if(field.metadata.accessible){ field.element.css({'color': 'white', 'background-color': PriorityColor,'min-height':'10px'}); skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value); }

Be the first to reply!

Reply