Re: NSTableView addColumn: cells
Re: NSTableView addColumn: cells
- Subject: Re: NSTableView addColumn: cells
- From: Daniel Todd Currie <email@hidden>
- Date: Sat, 29 May 2004 10:30:06 -0700
Yep, you're missing something... You want to do something like:
[[myTableColumn dataCell] setDrawsBackground:NO];
The NSCell -setDrawsBackground:NO will keep the cells from drawing
their own white background.
-- Daniel Currie
On 2004 May 27, at 05:33, Kiel Gillard wrote:
Hey guys!
In my program I tell a table view with alternating row colouring to
add new columns. But, for all the cells in the new columns that I add,
the background colour has not changed for the appropriate cells. Is
this an expected behaviour of the table view, and if that's correct,
do I need to figure out which cell is an even/odd row and set it's
background colour to the shade of blue? Or am I missing something?
TIA!
Kiel :-)
"Black holes are where God divided by zero."
Steven Wright
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.