• 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: NSOutlineView selectable only children
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView selectable only children


  • Subject: Re: NSOutlineView selectable only children
  • From: Denis Defreyne <email@hidden>
  • Date: Mon, 8 Aug 2005 14:21:20 +0200

On 7 Aug 2005, at 18:48, email@hidden wrote:

I need an NSOutlineView can be selectable only its children.

How?

Is it possible without Subclass the NSOutlineView?

In the outline view's delegate, implement `- (BOOL)tableView: (NSTableView *)aTableView shouldSelectRow:(int)rowIndex`. Return NO when the object at row `rowIndex` is a root item of this outline view.


Regards,

Denis Defreyne

--
mail: email@hidden
web: http://www.amonre.org/

_______________________________________________
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


  • Follow-Ups:
    • Re: NSOutlineView selectable only children
      • From: Corbin Dunn <email@hidden>
References: 
 >NSOutlineView selectable only children (From: email@hidden)

  • Prev by Date: Re: Converting image types and preserving EXIF.
  • Next by Date: Question about Threading
  • Previous by thread: NSOutlineView selectable only children
  • Next by thread: Re: NSOutlineView selectable only children
  • Index(es):
    • Date
    • Thread