Re: Problem with table view and bindings
Re: Problem with table view and bindings
- Subject: Re: Problem with table view and bindings
- From: Allan Odgaard <email@hidden>
- Date: Wed, 23 Jun 2004 14:48:41 +0200
On 23. Jun 2004, at 13:27, Andreas Mayer wrote:
Is it possible to bind each column of a table view to a different
array controller?
I can do so in IB but the outcome isn't what I would have expected:
I think the problem is that the table columns aren't using the value
bindings per se -- they also rely on the table views content binding
(which is implicitly setup by IB, when you bind to a table column). I
believe the reason for this has to do with allowing the table columns
to change the values (which is not possible through the array proxies
which are generally used in the value bindings) -- if you manually bind
the content property of the table view to your second array controller,
you'll see that it is now the second column which shows the expected
result, and the first one which is screwed.
Though I do not see a technical reason to why it should not be possible
to have it work as you expect, so if you need this behavior I'd suggest
filling an enhancement report.
_______________________________________________
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.