NSTableViews, NSArraycontrollers and table selection question
NSTableViews, NSArraycontrollers and table selection question
- Subject: NSTableViews, NSArraycontrollers and table selection question
- From: "Lorenzo Thurman" <email@hidden>
- Date: Fri, 7 Mar 2008 23:12:19 -0600
I have two NSTableviews each bound to their own NSArrayControllers. The
tables site side by side in a window and are populated simultaneously. That
works all well and good. The problem I have is that the first row in each
table is selected, but grayed out and clicking on those rows does not fire a
selection changed notification. I guess this make sense since its already
selected, so there's no real change, but I have two other textfields that
are bound to the selections, so the texfields are not populated until I
click another row. I've played around with the settings in IB 3 (all the
bindings were setup in IB3), but I can't figure out how to make this work. I
tried setting the selection index to -1 after the tables are poulated, but
that did not help. I thought I could also fire my own
tableselectiondidchange notification using the notification center, but that
didn't work either. Does anyone have any pointers?Thanks
--
"My break-dancing days are over, but there's always the funky chicken"
--The Full Monty
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden