Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple NSArrayControllers in same table ?



Hello ,

Does anyone know if it is possible to create an NSTableView whose columns are bound to individual NSArrayControllers with each controller bound to the same model object ? When I attempt to do this either using a nib file or programmatically some strange behavior is exhibited when the table is displayed. For example a test case with a table with two columns each bound to a separate controller shows up looking like this:


Column A Column B 1111 (4444,5555,6666) 2222 (4444,5555,6666) 3333 (4444,5555,6666)

the first column appears correct but the second column displays the NSArray associated with the content of the controller not the individual array values themselves ? Is there something I'm missing regarding binding table columns ? I'd like to be able to merge data from various sources into a single table.

Thanks in advance for any help,
Regards,
Bob M.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.