Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 15, 2009, 02:20 AM   #1
Darkroom
Guest
 
Join Date: Dec 2006
Location: Montréal, Canada
Programatically Editing Table View Cell?

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 )

Last edited by Darkroom; Oct 15, 2009 at 03:58 AM.
Darkroom is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Table View Cell Separator Lines Not Showing RagingGoat iPhone/iPad Programming 8 May 20, 2013 05:43 PM
Resolved: Table View Cell Text Help iphonedude2008 iPhone/iPad Programming 3 Dec 5, 2012 05:48 PM
View-based table view losing selection highlight Starfox Mac Programming 1 Nov 28, 2012 01:02 AM
Find location of table view cell that calls view controller moonman239 iPhone/iPad Programming 3 Nov 24, 2012 05:31 PM
Pushing to a Detail View from a Table View Cell using Xcode Storyboard xcodeApp10 iPhone/iPad Programming 2 Sep 17, 2012 03:45 PM

Forum Jump

All times are GMT -5. The time now is 04:31 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC