FROM : Alexander Lamb
DATE : Thu Jun 01 12:12:40 2006
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_removed>
DATE : Thu Jun 01 12:12:40 2006
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_removed>
| Related mails | Author | Date |
|---|---|---|
| Alexander Lamb | Jun 1, 12:12 | |
| Alexander Lamb | Jun 2, 12:21 |






Cocoa mail archive

