Re: How to set a default row in NSTableView?
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