views:

100

answers:

1

How could I change the background of each row of a NSTableView?

+3  A: 

The documentation will tell you.

If you want to set the background color differently for specific rows, columns, or row-column intersections, be the table view's delegate and respond to tableView:willDisplayCell:forRow: by setting the background color of the cell.

Peter Hosey