I want to change the color of Analyst based on name of the user in list_alg.htmpl, I however somehow achieved to change the color without if conditon but If I am using If condition I am unable to see color
function showUser(value)
{
var alghtml;
if (value == "Malhotra, Mayur")
rs.data("<A CLASS=record HREF=\"javascript:showDetailWithPersid('" + analyst_persid + "')\">"+ "<span style='color: red'>"+ value + "</span>" +"</A>");
else
alghtml = "<A CLASS=record HREF=\"javascript:showDetailWithPersid('" + analyst_persid + "')\">" + value +"</A>" ;
rs.data(alghtml);
}
<PDM_MACRO name=lsCol hdr="Created By" attr=analyst fmtfunc=showUser link=yes sort=no>
I tried with uuid as
if (value == (uuid)"447D3CC0D35B9446BA0D27B81AA369A9" but no result.
Please guide.
Thanks
MM