Re: Binding to column headers
Re: Binding to column headers
- Subject: Re: Binding to column headers
- From: Tim Lucas <email@hidden>
- Date: Thu, 9 Jun 2005 09:25:40 +1000
On 09/06/2005, at 7:18 AM, Thomas Davie wrote:
I would like to display a table view in which the rows are events, and
the columns are properties. Making this happen for specific
properties is easy - I simply set up the relevant fetched properties
and grab the data. However, setting it up to display one column for
each property that appears in at least one event (or some user
selectable subset of this) is much harder, and I can't see the way
forward.
Things get tricky if you don't have fixed columns.
One solution would be to observe the NSArrayController's
arrangedObjects key. On change, find the common properties of those
objects and modify the NSTableView appropriately.
- tim lucas
_______________________________________________
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