Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top