Skip to main content
I wanted to highlight a row if Organisation Compliance Indicator checkbox is not ticked which is read only . However it is not highlighting the row and also displaying checkbox as empty value when I used script below.  I included screen shots as well.


Could you please advise.


Javascript:
var field = argumentst0], 
value = skuid.utils.decodeHTML(argumentsn1]); 

skuid.ui.fieldRenderersrfield.metadata.displaytype]yfield.mode](field,value); 

if (field.mode == 'readonly' && value === false) 

    { 

        field.item.element.addClass("Leadtab_highlighted-row");


    }

css

table.nx-skootable-data tbody tr.LeadTab_highlighted-row td {       background-color: #F05423;
}

I have changed it as below and it worked 

var field = argumentss0], 
value = skuid.utils.decodeHTML(argumentst1]); 

skuid.ui.fieldRenderersefield.metadata.displaytype]field.mode

if (field.mode == ‘readonly’ && value === false) 

    { 

        field.item.element.addClass(“highlighted-row”);


    }


table.nx-skootable-data tbody tr.highlighted-row td {       background-color: lightblue;
}


Reply