• 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: Getting data from NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Getting data from NSOutlineView (From: goessly <email@hidden>)
 >Re: Getting data from NSOutlineView (From: goessly <email@hidden>)
 >Re: Getting data from NSOutlineView (From: Alex Fischer <email@hidden>)
 >Re: Getting data from NSOutlineView (From: goessly <email@hidden>)

  • Prev by Date: Re: Getting data from NSOutlineView
  • Next by Date: Re: NSObject Exercise comments?
  • Previous by thread: Re: Getting data from NSOutlineView
  • Next by thread: Re: Getting data from NSOutlineView [solved, kind of...]
  • Index(es):
    • Date
    • Thread