How to set a default row in NSTableView?
How to set a default row in NSTableView?
- Subject: How to set a default row in NSTableView?
- From: Mark Dawson <email@hidden>
- Date: Tue, 21 Jun 2005 10:50:30 -0700
How do I select a default row in an NSTableView? From what I can tell,
I call
selectRowIndexes:byExtendingSelection: and scrollRowToVisible: to set
and center that row; however, I don't know where/when to call them. Do
I check to see if I'm being called for the last row in
tableView:(NSTableView*)tableView objectValueForTableColumn:, then call
them, or is there a better place? The default row would need to be
programically set, not in IB. RIght now (10.3.9) nothing is selected,
by default.
Thanks!
Mark
_______________________________________________
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