Sunday, 15 August 2010

objective c - Can I get the column index in -tableView:objectValueForTableColumn:row: -


Can I get the current column index from the datasource method:

  -tableView: ObjectValueForTableColumn: Row:  

You can search for the NSTableColumn given in the NSTableView column. ..

  - (id) tableview: (NSTableView *) aTableView objectValueForTableColumn: (NSTableColumn *) aTableColumn Row: (NSInteger) rowIndex {NSUInteger index = [[aTableView table column] indexoff: aTableColumn] ; ...}  

No comments:

Post a Comment