Re: Different NSCells in an NSOutlineView
Re: Different NSCells in an NSOutlineView
- Subject: Re: Different NSCells in an NSOutlineView
- From: Jerry Krinock <email@hidden>
- Date: Wed, 19 Oct 2005 21:18:56 -0700
- Thread-topic: Different NSCells in an NSOutlineView
on 05/10/19 15:50, malcom at email@hidden wrote:
> All works fine but now I would to use two different kind of NSCell
> inside my OutlineView. Is this possible? And how? (anyone can provide
> a short example or link to a project example).
I believe this is only possible on a per-row basis and not per-column. You
do it by returning different cells in the delegate method:
- (id)dataCellForRow:(int)iRow
As you can see, unfortunately there is only one argument there, the row
index. They don't tell you what column they're trying to draw.
_______________________________________________
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