• 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
changing a single row in NSOutlineView to different control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing a single row in NSOutlineView to different control


  • Subject: changing a single row in NSOutlineView to different control
  • From: "Ender Wiggins" <email@hidden>
  • Date: Thu, 20 Jul 2006 21:25:56 -0500

Hey all,

I have an NSOutlineView already populated with data but now I'd like
to change one of the rows in one of the columns with an
NSPopUpButtonCell. This all happens in a class 'MyOutlineDataSource'
which contains the required outline methods.

Does this sound right ... do I need to just create a new class (my
delegate) inherited from NSObject and in IB make the NSOutlineView
point to the new delegate class by setting the custom class tab? I
think I understand that part, but then, I'm not sure what delegate
method I need to call and how to return the NSPopUpButtonCell for that
column and row only.

The way it works is the user selects a file and I read the file in and
based on it's contents, I build the node tree in the outline view. I
tried at this point to add in an NSPopUpButtonCell, but the entire
column was button cells which I don't want.

Any help much appreciated.
_______________________________________________
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: changing a single row in NSOutlineView to different control
      • From: John Terranova <email@hidden>
  • Prev by Date: Re: bindings, tables and custom sort selector
  • Next by Date: Re: Environment/permissions on NSTask-launched app
  • Previous by thread: Re: strpos-type method
  • Next by thread: Re: changing a single row in NSOutlineView to different control
  • Index(es):
    • Date
    • Thread