changing a single row in NSOutlineView to different control
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