Re: NSTableView questions (take 2)
Re: NSTableView questions (take 2)
- Subject: Re: NSTableView questions (take 2)
- From: Corbin Dunn <email@hidden>
- Date: Tue, 02 Feb 2010 09:08:28 -0800
Table b should be set to setAllowsMultipleSelection:NO. However, despite that, you can programmatically change the selection yourself with -setSelectedRowIndexes:byExtendingSelection: when the selection in Table A changes.
--corbin
> I have 2 tables that basically have a many to many relationship. If I click on table A I want multiple values of table B to be selected; but I click on table B I want to make sure I can't select multiple values
>
> On Feb 2, 2010, at 8:53 AM, Corbin Dunn wrote:
>
>>
>> On Feb 2, 2010, at 8:32 AM, Matthew Weinstein wrote:
>>
>>> Still trying to find a way to turn off setAllowsMultipleSelection just as the table becomes the responder. Is there some way of anticipating this, a "willbecomefirstresponder" kind of a notification?
>>
>> What are you really trying to do? Or, in other words, what is the goal with doing this?
>>
>> --corbin
>>
>
_______________________________________________
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