Re: NSTableView and performClickOnCellAtColumn - cannot make it work
Re: NSTableView and performClickOnCellAtColumn - cannot make it work
- Subject: Re: NSTableView and performClickOnCellAtColumn - cannot make it work
- From: Michael Babin <email@hidden>
- Date: Sun, 03 Feb 2013 09:45:31 -0600
On Jan 26, 2013, at 4:08 AM, Ivan Ostres <email@hidden> wrote:
> I am trying to use performClickOnCellAtColumn on NSTableView to put cell in editing mode (like when you create a new folder in Finder). If I click on the cell I can change it content but using performClickOnCellAtColumn nothing happens. This is the code I am using:
>
> - (IBAction)someAction:(id)sender {
NSLog(@"In someAction: %@", leftTblView);
> [leftTblView performClickOnCellAtColumn:1 row:2];
> }
>
> How can I troubleshoot this issue?
For starters, add a log statement like the one above (or set a breakpoint) and make sure that the method is being called and that leftTblView is properly connected/set.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden