Re: NSTableView doesn't show data until I click on a header
Re: NSTableView doesn't show data until I click on a header
- Subject: Re: NSTableView doesn't show data until I click on a header
- From: Keary Suska <email@hidden>
- Date: Sat, 28 Apr 2012 16:21:45 -0600
On Apr 28, 2012, at 3:42 PM, Koen van der Drift wrote:
> I have an NSTableView bound to an NSArrayController displaying some data in my app that are calculated when the user clicks a button. Initially no data is shown, but it appears once I click on one of the column headers. All the columns are filled with the correct data as I specified in the bindings. When the user then chooses another item to calculate the data from, the table should refresh, but the new data is not shown at all, and the old data doesn't go away.
>
> I've looked several times over my tableview, arraycontroller and bindings settings, but must have missed something too obvious.
>
> Any idea which setting I missed that could cause this behavior?
Are you updating the model data in a KVO-compliant way?
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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