• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there any way to show disclosure button always closed in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Is there any way to show disclosure button always closed in NSOutlineView (From: "Aman Alam" <email@hidden>)
 >Re: Is there any way to show disclosure button always closed in NSOutlineView (From: "Joan Lluch (casa)" <email@hidden>)
 >Re: Is there any way to show disclosure button always closed in NSOutlineView (From: "Aman Alam" <email@hidden>)

  • Prev by Date: Re: Creating and App menu from Scratch
  • Next by Date: Re: Creating and App menu from Scratch
  • Previous by thread: Re: Is there any way to show disclosure button always closed in NSOutlineView
  • Next by thread: Questions about Core Data and SQLite
  • Index(es):
    • Date
    • Thread