Hey Ken,

You were absolutely right. I bound NSTableColumn in Interface Builder, so I had 
to update that binding.

I haven't tried to unbind: first, since it works just fine now.

Thanks!
François

Le 2010-07-17 à 06:02, Ken Thomases a écrit :

> On Jul 16, 2010, at 10:16 PM, François Beausoleil wrote:
> 
>> I have an NSPopUpButton which holds the names of keys I want to display in 
>> an NSTableView. A picture is worth a thousand words: 
>> http://skitch.com/francoisb/dc63m/nstableview-redisplay
>> 
>> I have an action on my controller which rebinds the NSTableView's dataCell 
>> for the single column to a new value. Calling -[NSTableView reloadData] 
>> correctly refreshes the headerCell's title, but not the values. What should 
>> I be calling to ensure everything is refreshed?
> 
> You're directly binding the cell.  Shouldn't you be binding the table column, 
> itself, and let it take care of its cell?
> 
> Also, have you tried invoking -unbind: before rebinding?
> 
> Regards,
> Ken
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to