I have an NSTableView with several columns of checkboxes. Each of my
columns has an identifier. I also have an NSObjectController subclass
acting as both data source and delegate. I can populate the table with
some data.
However I am stuck on how to know when a checkbox has been clicked on
so I can update my model. I would prefer to get the info as a row
number in a particular column if that is possible.
I actually created an 'update' method in my controller and linked a
checkbox to this and can receive the message when a checkbox is
clicked but the sender doesn't have any obvious column/row info so I'm
pretty sure this isn't the way to go. Also I don't want to use
bindings as the data is C++;
- (void)update:(id) sender{
}
Any help greatly appreciated,
thanks
Peter
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]