Re: Is there any way to show disclosure button always closed in NSOutlineView
Re: Is there any way to show disclosure button always closed in NSOutlineView
- Subject: Re: Is there any way to show disclosure button always closed in NSOutlineView
- From: douglas welton <email@hidden>
- Date: Mon, 14 Jul 2008 09:37:56 -0400
HI Aman,
Have you considered using custom cells in your NSOutlineView?
The parent cell could be used to display info about the children
objects without having to display the actual children. You could then
use a different cell for the children objects to display the
additional child-specific info you need to show.
Alternately, have you considered using NSCollectionView?
I could easily see using this view as a way to create a progressive-
disclosure-based display for hierarchical info. This might be an
approach that is more in line with what you want to do (my opinion),
because it allows you to use the disclosure button as an information
filter without being bound by the implicit behavior you inherit from
NSOutlineView.
hope that helps.
regards,
douglas
On Jul 14, 2008, at 7:07 AM, Aman Alam wrote:
I want to show some detail about items that is in child object
without expanding the disclosure button.
On clicking disclosure button, there comes more detail that
contained by some other child items without removing previous one.
Also the childs must contain disclosure button that will use to show
there detail.
Is it possible to implement this scenario?
El 14/07/2008, a las 7:49, Aman Alam escribió:
I am working on a project that needs the disclosure button of
NSOutlineView always closed whether its row are expanded or not.
Does anyone know that how to do that?
Does not that violate the Apple Human Interface Guidelines?. I
mean, what condition do you want to show.
Joan Lluch
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden