Advice needed: outline view with different rows?
Advice needed: outline view with different rows?
- Subject: Advice needed: outline view with different rows?
- From: Thomas Lachand-Robert <email@hidden>
- Date: Fri, 6 May 2005 22:02:07 +0200
Hi all,
I would like to implement an interface object very similar to
NSOutlineView, except that the rows are different from each others:
some are editable text fields, some are images, some are static text
with a disclosure showing children cells.
If I understand well the documentation, NSOutlineView only handles
identical cells (for each column that is, but I would have only one
column). However, it is now possible (in Tiger) to have rows of
different heights, which is a very good thing. So I wonder if there
is a trick to still achieve my goal with an outline view. Do you
think it is possible to code a specialized subclass of NSCell, which
would act like an NSTextFieldCell sometimes, or like an NSImageCell
otherwise (depending on its content)? If so, how is it possible to
use bindings for such a custon cell class? Any better solution?
Thanks a lot,
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet à la chose. >> Molière, Tartuffe.
_______________________________________________
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