Figuring out which values are selected in an NSTableView
Figuring out which values are selected in an NSTableView
- Subject: Figuring out which values are selected in an NSTableView
- From: Andrew White <email@hidden>
- Date: Wed, 18 May 2005 10:55:02 +1000
Have an NSTableView, contents of which are automatically populated using
bindings.
Can get the set of rows selected using selectedRowIndexes.
Is there a way to directly get the *values* that are displayed in a
particular cell (row & column)? I realise that I can use the
selectedRowIndexes to index into the original array used to generate the
table and then find the correct sub-entry from there, but I'd rather just
use the value if I can.
And what about a sorted table? Does the table transparently preserve the
rowIndexes?
--
Andrew White
--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden