Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Eraserhead

macrumors G4
Original poster
Nov 3, 2005
10,434
12,250
UK
I have an NSTableView where I'm pre-selecting a row before it is displayed, however although the row is selected in the table it isn't actually displayed to the user. How do you do that?

Thanks
 

JoshDC

macrumors regular
Apr 8, 2009
115
0
How do you mean it's selected but not displayed to the user? Do you mean the table view returns the correct selectedRow but it isn't highlighted, or is it highlighted but the user has to scroll down to see it? If it's the latter case you can use scrollRowToVisible: with the selectedRow. Otherwise I don't know what the issue would be unless I know how and where you're doing the preselecting.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.