I'm trying to use the editColumn method to go in and automatically start editing a column in a row in a table. However, all it does it select the row (the correct one!) in a gray color, but nothing is selected for editing. I'd expect the selected row to be blue like any other row I select for editing. Here's the two lines of code:
[tableView selectRowIndexes:[NSIndexSet indexSetWithIndex:[gbTransactions count]-1] byExtendingSelection:NO];
[tableView editColumn:2 row:[gbTransactions count]-1 withEvent:nil select:YES];
So in the first line I'm selecting the row to edit the column first because if I don't, it returns an error when the app is executing. Note that this makes the row selected in blue like I'd expect! (If I comment out the second line).
In the second line, I want to have the column selected for editing in that row. But instead, it just turns the row highlight gray. Very strange.
Anyone see something I'm doing wrong? This is my first Cocoa app.