Re: Very very simple bindings problem??
Re: Very very simple bindings problem??
- Subject: Re: Very very simple bindings problem??
- From: email@hidden
- Date: Mon, 3 Oct 2005 19:56:28 -0700
Well, its solved.
Just in case anyone hits upon this.
NSPopupMenuCell (inside the table column) wants two arrays.
One array gets counted, and this is the one that specifies the number of
items in the column, the second array contains the actual values the
list is
composed of.
In my case, the number of employees (rows in the table) is the number
of items in the list,
so it needs an array of arrays, both the same size. So just create an
NSArrayController
containing the number of items corresponding to the table rows, and
have its content
feed a second array controller (of the same entity) that is used by
the PopupCells (feeding itself basically)
to get the number of items and number items values themselves.
# of rows #
Items values
PopupCell --> Column --> NSArray --> NSArray --> Items
_______________________________________________
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