Re: tableview dataSource and bindings
Re: tableview dataSource and bindings
- Subject: Re: tableview dataSource and bindings
- From: Greg Herlihy <email@hidden>
- Date: Wed, 15 Feb 2006 12:59:18 -0800
- Thread-topic: tableview dataSource and bindings
What other kind of behavior could be expected? A single table is not going
to be able to represent two different data sources that have two different
opinions about what the table contains. A table can only have one
authoritative data source that informs its content.
If that data source is an array controller than it makes sense to add
content to the array controller in order to have that content show up in the
table.
Greg
On 2/15/06 12:15 PM, "Michael Link" <email@hidden> wrote:
> Is it possible to use Bindings and also have a data source for an
> NSTableView? What data source methods could I expect to be called? I
> subclassed NSTableView and made an instance of the tableview in IB
> and bound all the table columns to an arraycontroller's
> arrangedObjects, and it doesn't seem to ever ask the data source for
> anything... Is that the expected behavior?
>
> I guess that would make sense, I am just curious if it's possible to
> insert say NULL cells dynamically while still using bindings.
>
> --
> Michael
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden