Re: auto focus after adding row to table
Re: auto focus after adding row to table
- Subject: Re: auto focus after adding row to table
- From: "I. Savant" <email@hidden>
- Date: Sun, 11 Mar 2007 17:38:44 -0400
How about NSTableView's -editColumn:row:withEvent:select: method?
When asking "How do I ..." for an object such as NSTableView, it's
always a good idea to scan through the entire API documentation for
that object for methods that look like they might do what you want.
It'll save you time and posts to the list for help.
--
I.S.
On Mar 11, 2007, at 5:23 PM, Ahmet Taha Sakar wrote:
I have a tableView bind to NSArrayController. It works all fine.
I have a
button that it connected to the NSArrayController to add new rows.
When I
add rows, my datasource is also updated, so everything works fine
there
too. This is what I would like to know: I have two columns in the
table
view. After I click add, and a new row is added to the table
view, how
can I get it to select the placeholdertext in the second column of
the new
row, therefore any key that is presses after the addition will be
typed in
the cell.
Thanks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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