I have an NSTableView content type View Based with two columns.
My objects are structured as follows:
Table View Table Column Table Cell View Text Field Table Column Table Cell View Popup Button
For the selected row, I want to get the element inside the selected row for a specific column. In particular, I want to get the Text Field in the first column for the selected row.
I have access to the table view, and so far I have the index of the selected row, but more about that:
- (void)getSelectedTextField { NSInteger selected = [tableView selectedRow]; }
Any ideas on how I can solve this problem?
Change This is what I am trying to do: I want to change the text field to be able to edit, and focus on it so that the user can start editing the value of the text field as soon as possible as selected
source share