popup in table column
popup in table column
- Subject: popup in table column
- From: Daniel Child <email@hidden>
- Date: Sun, 19 Jul 2009 19:38:33 -0400
I am confused by what seem to be two possible approaches to placing
popup button cells into a table.
If I understand the documentation, one can:
a) set the popup button cell as the data cell of the (subclassed) column
OR
b) return the popup button cell in the table datasource method:
- (id) tableView: (NSTableView *) tableView
objectValueForTableColumn: (NSTableColumn *) tableColumn
row: (int) row
Which is considered the correct approach? Is there a basic tutorial on
this?
Thanks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden