Inline editing in NSTableViews
Inline editing in NSTableViews
- Subject: Inline editing in NSTableViews
- From: Phillip Hutchings <email@hidden>
- Date: Mon, 14 Oct 2002 21:07:03 +1300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
How do you set up a NSTableView so that users can double click a cell
to edit it? I have cells set to editable, but I can't figure out how to
find out when an edit has happened to record the new value. I can't
find examples on the internet either.
According to NSTableView docs selectionShouldChangeInTableView should
be used to check edited values for correctness, but this is only called
when the row changes, if a user edits multiple items in a row these
values aren't saved.
The text textShouldEndEditing fits the bill perfectly, but how do I
find out which cell was edited?
- -------------------------------
Phillip Hutchings
http://www.sitharus.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iEYEARECAAYFAj2qeysACgkQ1PJqI21cmKDmGwCff7c7YYPItBMQ5hiZZXh1hZQ5
sU8An2LTI1meG+kdfLNrc/m5PoAnE6PB
=h49e
-----END PGP SIGNATURE-----
_______________________________________________
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.