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

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.

  • Follow-Ups:
    • Re: Table Views
      • From: "Mohammad F. Haque" <email@hidden>
    • Re: Table Views
      • From: "Mohammad F. Haque" <email@hidden>
References: 
 >Table Views (From: Adam Atlas <email@hidden>)

  • Prev by Date: Localization testing
  • Next by Date: Re: Localization testing
  • Previous by thread: Table Views
  • Next by thread: Re: Table Views
  • Index(es):
    • Date
    • Thread