NSOutlineView binding and row editing problem
NSOutlineView binding and row editing problem
- Subject: NSOutlineView binding and row editing problem
- From: David Chan <email@hidden>
- Date: Wed, 7 Dec 2005 17:46:56 +0800
Hi All,
I am currently trying to use NSTreeController binding to manage the
content of my NSOutlineView, reason being is that I am trying to use
Core Data for my application at the moment. Now when a user is trying
to edit a row (double clicking, type and return), I would like to
validate the entry before it gets updated. Previously I override
setObjectValue: forTableColumn: byItem: method. If the new entry is
invalid, I will simply not update the row and return the old value.
But that means I cannot use NSTreeController since I must set the
datasource to a controller class right? Is there a work around for
this?
Thank you.
Regards
David
_______________________________________________
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