• 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: Auto size table column to fit content?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto size table column to fit content?


  • Subject: Re: Auto size table column to fit content?
  • From: j o a r <email@hidden>
  • Date: Tue, 21 Jun 2005 11:59:11 +0200


On 21 jun 2005, at 11.28, Lee Morgan wrote:

I'm guessing that there isn't such a method and as such I need to implement something that cycles though my table content finding the longest one (nstring here) and set it to fit that?

Correct.

Note that if you have a lot of data, or data that changes a lot, it can be clever to only look at the visible values - and not loop over the whole data set every time it changes. The easiest thing to do that is to intercept the values returned from the table view data source.

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Auto size table column to fit content? (From: Lee Morgan <email@hidden>)

  • Prev by Date: NSAppleScript unicode issue
  • Next by Date: Xcode 2.1 debugging
  • Previous by thread: Auto size table column to fit content?
  • Next by thread: NSAppleScript unicode issue
  • Index(es):
    • Date
    • Thread