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: Alex Zavatone <email@hidden>
- Date: Sat, 28 Apr 2012 17:55:02 -0400
Not sure if this will help, but under iOS, there is a refreshTable method and also (IIRC) a "table is ready for refresh" variable.
One thing you could do after your table data is loaded is make sure that a refresh happens so that it gets displayed.
Hope this helps.
On Apr 28, 2012, at 5: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?
>
> Thanks,
>
> - Koen.
> _______________________________________________
>
> 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
_______________________________________________
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