Is it possible to conditionally format a text field to a certain color when the text value is a specific entry? For instance, RED text when the value is “incomplete”…
Page 1 / 1
Setup a custom field renderer like this:
var field = arguments[0], value = arguments[1],<br> $ = skuid.$;<br>if(field.metadata.accessible){<br> if(value === 'incomplete'){<br>// do CSS stuff here...<br> field.element.css({'background-color':'#F19A00','min-height':'10px'});<br> }<br> skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value);<br>}
Very nice, Moshe!
There’s more information about Custom Field Renderers here: http://help.skuidify.com/m/11720/l/204496-table-component-custom-field-renderers
-Josh
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.