Skip navigation.
 
mlRe: Making NSTableView Cells Selectable, But Not Editable
FROM : Corbin Dunn
DATE : Tue Jun 27 20:03:11 2006

>
> 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

Related mailsAuthorDate
mlMaking NSTableView Cells Selectable, But Not Editable Mike Wright Jun 27, 17:22
mlRe: Making NSTableView Cells Selectable, But Not Editable Matt Neuburg Jun 27, 19:27
mlRe: Making NSTableView Cells Selectable, But Not Editable Corbin Dunn Jun 27, 20:03
mlRe: Making NSTableView Cells Selectable, But Not Editable Keith Wilson Jun 27, 20:45
mlRe: Making NSTableView Cells Selectable, But Not Editable Mike Wright Jun 29, 00:50