Home
Options

Util.HighlightIf: How do I use this?

edited October 2012
I'm trying to highlight a row if a certain column contains a certain value.

I have something like this:
select new  {
assetid = r.ASSETID, 
sourceid = r.SOURCE_ID, 
salekey = pst.SALEKEY,
relid = r.RELATIONSHIP_ID, 
relname = r.RELATIONSHIP_NAME, 
borName = r.BORROWER_NAME,
status = Util.Highlight(pst.SALEKEY == saleKey ? "In sale" : "Not In Sale")
}
Right now. And that highlights the status field, but I want to highlight the entire row. How would I do that?

Comments

Sign In or Register to comment.