• 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
Changing editing behaviour of NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing editing behaviour of NSTableView


  • Subject: Changing editing behaviour of NSTableView
  • From: Pete Yandell <email@hidden>
  • Date: Tue, 21 Jan 2003 22:57:54 +1100

By default, editing a row in an NSTableView and hitting return selects the next row for editing (or the current one again if there is only one row in the table.)

What I'd like to have it do is have hitting return end the editing the leave the just-edited row selected.

Anyone got an idea on how to do this?

I've tried various things in the delegate's tableView:setObjectValue:forTableColumn: method, but I think the switch to editing the next row happens after this method is called.

Pete Yandell
http://pete.yandell.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Constraining a Split View (a different scenario)
  • Next by Date: COCOA: Simplest Way of Formatted Text
  • Previous by thread: Only One NSThread
  • Next by thread: Re: Changing editing behaviour of NSTableView
  • Index(es):
    • Date
    • Thread