How to prevent clicks inside an NSCell in an NSTableView to change the selection?
How to prevent clicks inside an NSCell in an NSTableView to change the selection?
- Subject: How to prevent clicks inside an NSCell in an NSTableView to change the selection?
- From: Daniel Vollmer <email@hidden>
- Date: Thu, 21 Dec 2006 23:37:39 +0100
Hi,
I've got an NSTableView (bound with an NSArrayController). One table
column contains NSSliderCells, but modifying the slider always
results in the selection of the row whose slider is being modified
for the whole table view. I would like the selection to remain the
same as it was before the slider was clicked.
- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int)
rowIndex is getting called, but at that point I have no information
what resulted in the change of the selection.
Is there a way to prevent clicks inside a particular NSTableColumn to
change the selection of the NSTableView?
Thanks,
Daniel.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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