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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to