Re: Making NSTableView Cells Selectable, But Not Editable
Re: Making NSTableView Cells Selectable, But Not Editable
- Subject: Re: Making NSTableView Cells Selectable, But Not Editable
- From: Corbin Dunn <email@hidden>
- Date: Tue, 27 Jun 2006 11:03:11 -0700
How do I prevent this? Do I have to subclass my NSTableView? If so,
in which method would I do it? -doubleAction: is called "when the
user double-clicks a column header or an uneditable cell", and my
cells are not technically "uneditable"--or are they? I think I'm
beginning to get confused...
One easy way is to subclass and override
editColumn:row:withEvent:select to do nothing if it is your cell that
you don't want to be edited.
--corbin
_______________________________________________
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