NSTableView: column selection selects rows?
NSTableView: column selection selects rows?
- Subject: NSTableView: column selection selects rows?
- From: Alexander Lamb <email@hidden>
- Date: Thu, 1 Jun 2006 12:12:40 +0200
Hello,
I am implementing the following method in a subclass of NSTableView:
- (void)selectRowIndexes:(NSIndexSet *)indexes byExtendingSelection:
(BOOL)extend
The idea is to handle myself the selection / deselection of rows.
Unfortunately, this method also gets called when I select a column
(to reorder). My table is connected to an array controller in a
CoreData application.
Is there a way to either:
a) know when it is a column being selected
b) prevent rows being selected when I click on a column (actually,
the method is called twice for each click on a column)
Thanks,
Alex
--
Alexander Lamb
email@hidden
_______________________________________________
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