Q: NSTableView not sorting edited rows
Q: NSTableView not sorting edited rows
- Subject: Q: NSTableView not sorting edited rows
- From: Leonard Budney <email@hidden>
- Date: Sat, 7 May 2005 06:55:30 -0400
Hello,
Sorry if this is a FAQ: I did a search and couldn't find anything on
the subject.
I'm using an NSTableView, subclassed so the enter key selects the
current row as iTunes does. I enabled sorting in the Attributes
setting of the inspector in Interface Builder, and it works fine. The
problem is, when I edit a cell in the sorted column, the NSTableView
doesn't re-sort the entries (as iTunes does); if the edited value is
now out of order, the row doesn't change position.
I tried calling [tableView reloadData] in the changeKeyPath method of
MyDocument, but that had no effect. Other than that, I've searched in
vain for a hint on the Internet. Can anyone help?
Thanks!
Len.
_______________________________________________
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