Re: Table Views
Re: Table Views
- Subject: Re: Table Views
- From: Sam Goldman <email@hidden>
- Date: Sun, 03 Mar 2002 12:20:21 -0800
Not the delegate, but the dataSource. The dataSource implements methods that
provide the table view with its data. I set mine up to be a dictinary of
arrays, one key for each column and then to add a row I add an object to
each array. To delete a row I take away the object.
There is a programming topic about table views in the documentation that is
quite clear.
- Sam
P.S. Remember to use the reloadData method!
On 3/3/02 12:12 PM, "Adam Atlas" <email@hidden> wrote:
>
Are there methods to add and remove rows from an NSTableView, or does
>
this have to be done through a delegate?
>
>
--
>
Adam Atlas
>
Atomm Software
>
http://www.atommic.com
>
_______________________________________________
>
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.
--
Windows is a 32-bit patch to a 16-bit shell for an 8-bit operating system
written for a 4-bit processor by a 2-bit company without 1 bit of sense.
_______________________________________________
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.
References: | |
| >Table Views (From: Adam Atlas <email@hidden>) |