PDA

View Full Version : Programatically Editing Table View Cell?




Darkroom
Oct 15, 2009, 02:20 AM
i'm attempting to emulate double clicking on an editable tableView row programatically thru a button action. myTableView has only one column.


if ([sender tag] == 1) //Edit Button
[myTableView editColumn:0 row:[myTableView selectedRow] withEvent:nil select:NO];


is this not the correct method i should be calling?

[EDIT] ouf... nevermind... this works fine (missed IB connection :rolleyes:)