• 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
Binding to table with variable number of columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding to table with variable number of columns


  • Subject: Binding to table with variable number of columns
  • From: Ashley Perrien <email@hidden>
  • Date: Sun, 8 Mar 2009 00:18:45 -0600

I've currently got a couple tables set up that have a variable number of columns in them depending on the data on the back end. They're purely displaying info and will not be used for editing it at all. At the moment I have 1 method that creates and adds the columns to the table and then the 2 standards for the number of rows and what to show at each row/column.

How would I go about setting up bindings to a table in this kind of a situation if I can't predict in IB how many columns it will have? The main reason I have for trying to switch to bindings is to (hopefully) simplify sorting.

Ashley Perrien
Random Quote of the day:
"We're not surrounded, we're in a target-rich environment!"


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Binding to table with variable number of columns
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: NSTextView won't allow a Return (Enter)
  • Next by Date: Re: Binding to table with variable number of columns
  • Previous by thread: Re: NSObjectController selection - now you see it, now you don't
  • Next by thread: Re: Binding to table with variable number of columns
  • Index(es):
    • Date
    • Thread