Skip navigation.
 
mlRe: Custom TableCell
FROM : Adam P Jenkins
DATE : Tue Feb 19 22:36:56 2008

See the documentation for the setDataCell: method of NSTableColumn. 
To display an image in a cell you can use an NSImageCell.  You can 
write your own NSCell subclass to arbitrary drawing in a cell.  Also 
you can implement a delegate for a NSTableView which can decide which 
NSCell object to use for drawing each individual cell.  See the Table 
View Programming Guide for more info:

http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/TableView.html

On Feb 19, 2008, at 12:20 AM, Meik Schuetz wrote:

> Dear list,
> I confess that I am a new with some C#/ WPF background, who is 
> currently a
> bit overwhelmed and anxious learning Cocoa and Objective-C. Today I 
> already
> received Aaron Hillegass book which is of great help in 
> understanding the
> basics and getting more comfortable with this new development 
> environment.
>
> IŽd like to ask you guys for some direction, some tutorial or 
> anything else
> you might could be helpful, for customizing the appearance of a 
> table cell.
> IŽd like to know how to have a table cell having an image and two 
> lines of
> text (e.g. Like in the list of installed printers in OSX).
>
> Thanks
> Best regards
> Meik Schuetz
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlCustom TableCell Meik Schuetz Feb 19, 06:20
mlRe: Custom TableCell John Stiles Feb 19, 22:32
mlRe: Custom TableCell Adam P Jenkins Feb 19, 22:36