1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Binding Text Color in NSTableView

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

  1. macrumors 65816

    MacDonaldsd

    #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. macrumors 65816

    MacDonaldsd

    #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