Programatically Editing Table View Cell?

Discussion in 'Mac Programming' started by Darkroom, Oct 15, 2009.

  1. Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #1
    i'm attempting to emulate double clicking on an editable tableView row programatically thru a button action. myTableView has only one column.

    Code:
    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:)
     

Share This Page