Re: Color entire table view row
Re: Color entire table view row
- Subject: Re: Color entire table view row
- From: Matt Massicotte <email@hidden>
- Date: Sat, 6 Apr 2002 18:04:43 -0500
One thing I don't get: isn't it true that NSTableColumn by default has
only one dataCell that it shares with the entire column. I know that
setting it's text color changes the entire column's text color.
Wouldn't tableView:willDisplayCell:forTableColumn:row: just return that
same one Cell every time?
Matt
On Saturday, April 6, 2002, at 01:18 PM, Ondra Cada wrote:
On Saturday, April 6, 2002, at 05:29 , Matt Massicotte wrote:
I did warn you that it wasn't the best way ;)
Thanks, I'm going to look into making that change.
It still might prove for your particular problem to be the better one
(not speaking of the old rule "don't repair which works").
Though, if somebody needs to colour cells/rows, the chance that the
delegate way is easier (than reimplementing columns so they use as many
cells as there is rows) is QUITE big.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.