I am a beginner to objective c.Please tell me that how perform multiplay selection in NSTableView.I am unable to retain previous selection, when i am clicking on another row.
A:
You have to enable multiple selection on the table view by calling:
[tableView setAllowsMultipleSelection: YES]
You can then select multiple rows by pressing Command+Click on the rows you want.
Thomas
2010-09-03 11:35:05
but i need to select those rows when checkbox is get checked.actually i need to do selection through coding.
Richa Vijayvargiya
2010-09-03 11:37:17
+2
A:
The method call you are looking for is
- (void)selectRowIndexes:(NSIndexSet *)indexes byExtendingSelection:(BOOL)extend
Lothar
2010-09-03 13:48:11