View Full Version : NSTableView
apffal
Oct 6, 2008, 01:39 PM
Using a NSTableView, how can I select one single row ?
Thanks.
robbieduncan
Oct 6, 2008, 01:41 PM
The documentation (http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTableView_Class/Reference/Reference.html#//apple_ref/occ/instm/NSTableView/selectRowIndexes:byExtendingSelection:) is there for a reason. Just pass an NSIndexSet with a single index and NO for extendingSelection.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.