Display instances of a Core Data entity in a hierarchical way
Display instances of a Core Data entity in a hierarchical way
- Subject: Display instances of a Core Data entity in a hierarchical way
- From: Remco Poelstra <email@hidden>
- Date: Tue, 10 Oct 2006 22:35:36 +0200
Hi,
I've two Core Data entities: component en componentlist. The
component entity has the following attributes: value (string),
category (relation), type (relation). The componentlist entity has
the attributes: quantity (int), refdes (string), component (relation).
I've made a table which shows the instances of the componentlist
entity. One column contains a nspopupbuttoncell which show's the
value attribute of the component relation. This all works fine, but
the popup-menu is very large. What I want is some sort of
hierarchical display of the available components, by sorting them by
category, then type and then value. Since nspopupbutton contains an
nsmenu, I suppose that's possible? But how do I get that to work?
Preferably using bindings. I really have no clue on where I should
start looking.
Thanks in advance,
Remco Poelstra
_______________________________________________
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