NSArrayController, add:, default values
NSArrayController, add:, default values
- Subject: NSArrayController, add:, default values
- From: Martin <email@hidden>
- Date: Mon, 11 Dec 2006 18:55:00 +0100
Hi,
I've got a NSTableView whose columns are bound to a
NSArrayController. I've also got a NSButton whose action is connected
to the NSArrayController's add: method so that when I click on that
button a new row automagically appears and I just have to enter the
values in the NSTableView's fields.
How can I set default values for the columns ? Because when I add a
new row, the row is blank (ie filled with NULL values). The "NULL
placeholder" is not fine enough for me : it's just a GUI replacement
for the NULL value ; what I want is fill that row with real default
values.
Is there a way to do it non-programmatically ?
Thanks,
Martin.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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