• 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: Dynamic columns in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic columns in NSTableView


  • Subject: Re: Dynamic columns in NSTableView
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 15 Nov 2005 07:48:19 -0800

Lance,
It should be really easy. alloc/init an NSTableColumn, set it up the way you want, and call addTableColumn: on NSTableView.


--corbin

Am 14.11.2005 um 14:11 schrieb Lance Roggendorff:

Hi all,

I've searched many different resources for cocoa development on the internet, and I haven't found quite the answers I need. I apologize if this is a simple question.

I'm working on building a dialog which will have functionality similar to the import dialog in Excel, which will display a "preview" of tabular data. My version allows the user to select two columns to read data from.
I need to create columns for my table view dynamically, and i can't create columns in IB and hide them, because I don't know in advance how many columns there may be in any particular data file.


If anyone can point me in the right direction, I would really appreciate it. Thank you!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Dynamic columns in NSTableView (From: Lance Roggendorff <email@hidden>)

  • Prev by Date: Re: Add a framework
  • Next by Date: Buttons in NSScrollView
  • Previous by thread: Re: Dynamic columns in NSTableView
  • Next by thread: Re: Dynamic columns in NSTableView
  • Index(es):
    • Date
    • Thread