Sorting a TableView in tableView:setObjectValue:forTableColumn:row:
Sorting a TableView in tableView:setObjectValue:forTableColumn:row:
- Subject: Sorting a TableView in tableView:setObjectValue:forTableColumn:row:
- From: Andreas Mayer <email@hidden>
- Date: Sat, 12 Oct 2002 04:07:50 +0200
Hi all.
I have a table view with sorted rows. When a cell in my key column is
changed, I re-sort my data source and reload the table.
The problem is, that the wrong row (and cell to edit) is selected
afterwards.
Can anyone give ma a hint how to solve this?
Changing the selection in tableView:setObjectValue:forTableColumn:row:
does not work.
Since this is called from textDidEndEditing: I assume I could replace
that one. But I'd rather avoid rewriting that code (selecting the next
cell according to the way editing ended and all that).
(Besides that I have still no solution to my problem with the serial
port (/dev/cu.modem etc.) not closing properly ... :( )
bye. Andreas.
_______________________________________________
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.