Re: Non-editable TableView and the Evil NSEditorBinder
Re: Non-editable TableView and the Evil NSEditorBinder
- Subject: Re: Non-editable TableView and the Evil NSEditorBinder
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 3 Aug 2008 10:00:49 +0700
On 3 Aug 2008, at 04:21, Keary Suska <email@hidden> wrote:
8/2/08 7:30 AM, also sprach email@hidden:
[...]
Then I tried to use an NSArrayController instead of the DataSource.
But now some evil NSEditorBinder comes and makes my cells editable
again. Most annoying!
Well, it looks like you have bound the editable binding, and so it
will do
exactly as your bound model indicates.
Well, I looked at the nib again, and the only binding I can see is
the value of the TableColumn bound to arrangedObjects.Values of some
NSArrayController.
2008-08-02 20:02:07.001 GetMetaData[1266] -[GmdCell setEditable:] 1
self: 0x3ef4f0 -- bad
#1 0x93a03304 in -[NSEditorBinder
_adjustStatesOfObject:mode:state:triggerRedisplay:] ()
#2 0x93a05740 in -[NSValueBinder
updateTableColumnDataCell:forDisplayAtIndex:] ()
#3 0x93a05ed8 in -[NSTextValueBinder
updateTableColumnDataCell:forDisplayAtIndex:] ()
#4 0x93a05664 in -[_NSBindingAdaptor
tableColumn:willDisplayCell:row:] ()
#5 0x93862ffc in -[NSTableView
_sendDelegateWillDisplayCell:forColumn:row:] ()
#6 0x93862a3c in -[NSTableView
_drawContentsAtRow:column:clipRect:] ()
#7 0x93862430 in -[NSTableView drawRow:clipRect:] ()
#8 0x938621ec in -[NSTableView drawRowIndexes:clipRect:] ()
#9 0x93861874 in -[NSTableView drawRect:] ()
Is there any way to stop this nefarious interference with my cells?
Are you sure it isn't your own code that isn't behaving the way you
want?
I am quite sure that I never send "setEditable: YES".
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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