Re: Getting data from NSOutlineView
Re: Getting data from NSOutlineView
- Subject: Re: Getting data from NSOutlineView
- From: email@hidden
- Date: Tue, 13 Dec 2005 13:55:56 +0100
Hi,
Try with [outlineViewDelegate itemAtRow:[self selectedRow]].
This would return the object.
See you,
Guillaume
Selon goessly <email@hidden>:
>
> You are right, but the delegate is not an NSOutlineView but
>
> probably a subclass of NSObject.
>
>
Actually I've got this: IBOutlet NSOutlineView *outlineViewDelegate;
>
defined in my headerfile.
>
I only called it "delegate", for some reason that seemed reasonable
>
at the time :)
>
>
>> [outlineViewDelegate
>
>> objectValueForTableColumn: [outlineViewDelegate
>
>> tableColumnWithIdentifier:@"titel"]
>
>> byItem: currentItem
>
>
well, I don't get it... perhaps I should rather create a new NSCell
>
and call dataCellForRow, and then transform the value?
>
Seems kind of strange that there should be no easy way to get data
>
from a table/ outline-view...
>
>
*confused*
>
>
goessly
>
_______________________________________________
>
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
>
_______________________________________________
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