Embedding a color item in an NSTableView
Embedding a color item in an NSTableView
- Subject: Embedding a color item in an NSTableView
- From: Greg Stark <email@hidden>
- Date: Wed, 14 Jun 2006 00:14:01 -0600
I'm building a Core Data based application that uses an NSTableView
to display its data. Each row in the table has a item color
associated with it. Right now, when I select a row, I have the color
of that item displayed below the table via an NSColorWell; however,
ideally, I'd like the color of the item to show up in a column also
(i.e., I'd like to be able to see item colors as I scroll through the
table).
What I was wondering is whether there is an easy way to have an
item's color show up in the table. For example, is it possible to
embed a ColorWell in the table? Or perhaps there's an easy way to
change a table cell's background color.
Thanks,
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden