Trouble with last row in tableView
Trouble with last row in tableView
- Subject: Trouble with last row in tableView
- From: Kurt Marek <email@hidden>
- Date: Sun, 23 Nov 2003 07:55:39 -0800
I'm having some strange things happen with the last row in my
tableView. I have two tableViews: the bottom table is bound to an
NSArrayController which gets its content from the selection of the top
table. Selecting a row in the top table automatically updates the
bottom table. The problem is that when I add a new entry to the top
table, it doesn't really get selected and the bottom table doesn't
update. Rather than having the 'blue highlight' of a selected row, the
last entry in the top table just gets a 'grey highlight'. If I click on
the row it changes it's highlight to blue, but still doesn't update the
bottom table. If I click on another row, the bottom table is updated
and I can then click on the last entry and have the bottom table update
fine.
A similar thing happens if I quit and relaunch my app. If I click on
the last row in the top table first, it doesn't update the bottom
table. If I click on any other row first it works fine and I can then
click on the last row and have it update the bottom table.
I don't even know where to start with this. I think everything is
hooked up correctly because the basic functionality works. Should I put
in a manual reloadData at some point?
Kurt
_______________________________________________
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.