Problem somewhat solved. Landed up subclassing nstableview and overriding mouseDown:
Works well (at least on my machine).

On Feb 2, 2010, at 9:08 AM, Corbin Dunn wrote:

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 (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 arch...@mail-archive.com

Reply via email to