• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: auto focus after adding row to table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: auto focus after adding row to table
      • From: Scott Anguish <email@hidden>
References: 
 >auto focus after adding row to table (From: "Ahmet Taha Sakar" <email@hidden>)

  • Prev by Date: auto focus after adding row to table
  • Next by Date: Re: auto focus after adding row to table
  • Previous by thread: auto focus after adding row to table
  • Next by thread: Re: auto focus after adding row to table
  • Index(es):
    • Date
    • Thread