Re: NSTableView: adding data
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.