• 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: How to set a default row in NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set a default row in NSTableView?


  • Subject: Re: How to set a default row in NSTableView?
  • From: j o a r <email@hidden>
  • Date: Wed, 22 Jun 2005 00:58:35 +0200


On 22 jun 2005, at 00.47, Mark Dawson wrote:

I would have thought so, but my debugging shows that -tableView objectValueForTableColumn: (loading the datasource) doesn't happen until AFTER my awakeFromNib gets called. I assume that I shouldn't call -selectRowIndexes before any data has been loaded?

That is probably an incorrect assumption. NSTableView loads data lazily, it doesn't load all data from the data source - only the data it needs to display the visible columns and rows. In other words, you should be able to call it as soon as your data source is populated and hooked up to your table view.


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

  • Follow-Ups:
    • Re: How to set a default row in NSTableView?
      • From: Mark Dawson <email@hidden>
References: 
 >Re: How to set a default row in NSTableView? (From: Ben Kazez <email@hidden>)
 >Re: How to set a default row in NSTableView? (From: Mark Dawson <email@hidden>)

  • Prev by Date: WWDC 2004 Source Code
  • Next by Date: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Previous by thread: Re: How to set a default row in NSTableView?
  • Next by thread: Re: How to set a default row in NSTableView?
  • Index(es):
    • Date
    • Thread