TableView cell with image?
TableView cell with image?
- Subject: TableView cell with image?
- From: Austin Sarner <email@hidden>
- Date: Sun, 23 Jan 2005 00:11:50 -0500
I'm trying to set a cell in a tableview to display an image.
I start by implementing
- (void)tableView:(NSTableView *)aTableView willDisplayCell:(id)aCell forTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex
Then I determine if it is the cell I want and do
[aCell setType:NSImageCellType];
[aCell setImage:[NSImage imageNamed:@"minitextclipping"]];
However, nothing appears. If I set it to setStringValue: then the cells correctly change caption.
Thanks for any help _______________________________________________
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