Re: Remove NSTableView Default Selection
Re: Remove NSTableView Default Selection
- Subject: Re: Remove NSTableView Default Selection
- From: John McIntosh <email@hidden>
- Date: Fri, 25 Sep 2009 08:40:25 -0500
Perfect, thank you! I have the table bound to a core data source and
did not know about the "avoid empty selection" option in the
controller. Unckecking that box took care of it.
John
On Thu, Sep 24, 2009 at 10:12 PM, Jens Alfke <email@hidden> wrote:
>
> On Sep 24, 2009, at 5:07 PM, John McIntosh wrote:
>
>> I assumed that I could send the same deselectAll message in either an
>> awakeFromNib function or applicationDidFinishLaunching. However,
>> neither of these clears the selection.
>
> Make sure you've checked the table's "Empty" checkbox (allow empty
> selection) in the nib.
> Also, if there's a controller bound to the table, uncheck its "Avoid empty
> selection" checkbox.
>
> —Jens
_______________________________________________
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