Binding Text Color in NSTableView

Discussion in 'Mac Programming' started by MacDonaldsd, Apr 9, 2008.

  1. macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #1
    Hi,

    Im trying to the set the text color for each row in a NSTableView, based on an attribute using bindings.

    I assume I have to do it column by column, so I tried binding each column to a NSColor attribute.

    This attribute is working as Im using it successfully with the Color well.

    Unfortunately the text just remains black.
     

    Attached Files:

  2. thread starter macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #2
    Ok I fixed it, sorry about that.

    On a side note is it possible to highlight the row as in mail ?
     

Share This Page