Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > NSTableView sel...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3658 of 3812
Post > Topic >>

NSTableView selection and NSArrayController Q

by Can I Get a Word In <lazloman@[EMAIL PROTECTED] > Mar 12, 2008 at 09:02 PM

I have two NSTableviews each bound to their own NSArrayControllers. The
tables sit side by side in a window and are populated simultaneously via 
their respective controllers. 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 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
 




 1 Posts in Topic:
NSTableView selection and NSArrayController Q
Can I Get a Word In <l  2008-03-12 21:02:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 2:20:47 CDT 2008.