• 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: adding data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView: adding data


  • Subject: Re: NSTableView: adding data
  • From: T Reaves <email@hidden>
  • Date: Sat, 17 Jan 2004 18:44:17 -0500

That was it. Somehow - perhaps when I made a change to a class name -
the connection from the table to the data source had broke.

Thanks.


On Jan 17, 2004, at 6:13 PM, Shawn Erickson wrote:

>
> On Jan 17, 2004, at 2:11 PM, T Reaves wrote:
>
>> Hello all. I have an app with an NSTableView. When I add an object
>> to its data source, I can not seem to figure out how to get the table
>> to update. I have tried [table noteNumberOfRowsChanged] and [table
>> reloadData], both to no avail.
>>
>> In the same app, I have an NSOutlineView, and the [outline
>> reloadData]
>> does get the outline to reload.
>>
>> What am I missing?
>
> Using reloadData and/or noteNumberOfRowsChanged will do it... so
> something is broken in your data source or you are not messaging the
> correct objects. Try using the debugger.
>
> -Shawn

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • NSTextView How do you turn off line wrap?
      • From: Bob Foster <email@hidden>
References: 
 >NSTableView: adding data (From: T Reaves <email@hidden>)
 >Re: NSTableView: adding data (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: *****SPAM*****How to convince company I should switch to Cocoa
  • Next by Date: NSTextView How do you turn off line wrap?
  • Previous by thread: Re: NSTableView: adding data
  • Next by thread: NSTextView How do you turn off line wrap?
  • Index(es):
    • Date
    • Thread