Different NSCells in one NSTableView/NSTableColumn
Different NSCells in one NSTableView/NSTableColumn
- Subject: Different NSCells in one NSTableView/NSTableColumn
- From: Felix Schwarz <email@hidden>
- Date: Mon, 16 May 2005 22:25:03 +0200
Hi everybody,
I need to have different NSCells (NSPopUpCell, NSComboBoxCell,
NSButtonCell, NSTextFieldCell) in one column on a per-row basis. Much
like when you click on the project in XCode, click "Get info", choose
the "Styles" tab and then have different kind of cells for the
compiler and linker settings.
Problem is, I don't find any information or sample code on how to do
this. I tried to exchange the NSCell of the NSTableColumn in the
tableView:willDisplayCell:forTableColumn:row:
and
tableView:objectValueForTableColumn:row:
delegate calls, but both results in or more or less unusable /
"corrupt" display of my data.
Any help would be greatly appreciated!
Best regards,
Felix
_______________________________________________
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