• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView doesn't show data until I click on a header
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTableView doesn't show data until I click on a header
      • From: Koen van der Drift <email@hidden>
References: 
 >NSTableView doesn't show data until I click on a header (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: NSTableView doesn't show data until I click on a header
  • Next by Date: Re: NSKeyValueBindingCreation Protocol
  • Previous by thread: Re: NSTableView doesn't show data until I click on a header
  • Next by thread: Re: NSTableView doesn't show data until I click on a header
  • Index(es):
    • Date
    • Thread