• 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
Understanding text cell editing behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Understanding text cell editing behaviour


  • Subject: Understanding text cell editing behaviour
  • From: David Schweinsberg <email@hidden>
  • Date: Tue, 9 Dec 2008 12:18:27 +1100

Hi,

I'm trying to understand the default text cell editing behaviour (in tables and outlines) so I can tweak it. Perhaps someone can point me towards the best practice for doing what I'm trying to achieve.

Setting the 'editable' attribute in a table column allows double- clicking to edit a cell, but what I really want is behaviour more like Finder, i.e. a single-click of the file name of a selected file allows editing. I notice that sometimes this is the case with an 'editable' table column, but not always. If I edit the cell, and press return, I can then re-edit the cell with a single click -- so it seems this behaviour is in there, but I need it all the time, and for double- clicks to be ignored.

The way I'm looking at doing this is to explicitly handle the clicks, and call 'editColumn:row:withEvent:select:', but I was wondering if there is a better way?

Regards,

David Schweinsberg

_______________________________________________

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


  • Follow-Ups:
    • Re: Understanding text cell editing behaviour
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: [RESOLVED] Core Data request predicates and to-many relationships
  • Next by Date: Re: Understanding text cell editing behaviour
  • Previous by thread: Re: NSTask and environment variables
  • Next by thread: Re: Understanding text cell editing behaviour
  • Index(es):
    • Date
    • Thread