NSTableView selection
NSTableView selection
- Subject: NSTableView selection
- From: Alexander Lamb <email@hidden>
- Date: Wed, 31 May 2006 09:52:06 +0200
Hello list,
With a CoreData application I would like to manage a multiple
selection in a NSTableView.
It is easy, except I would like to avoid having to use "option-
click" (need two hands).
So, I thought of two solutions:
1) Catch the mouse down (single click) to toggle the selected state
of the row
2) Add a "selected" transcient attribute to the entity, add a
checkbox column and disable the selection in the table view
The first solution seems better. Is there a way to handle this in an
easy way? What should I override in a subclass (or can I avoid
subclassing?)
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