Re: Re: Get selectedItem (and items) in NSOutlineView
Re: Re: Get selectedItem (and items) in NSOutlineView
- Subject: Re: Re: Get selectedItem (and items) in NSOutlineView
- From: malcom <email@hidden>
- Date: Sat, 28 Oct 2006 19:12:55 +0200
Mmmm tried to +1 but this not solve the problem.
In fact it's not an index problem.
Suppose to have a just loaded table.
Now you click item A ---> the selection method return <NULL>
Now you click another item B (wherever you want...) ---> the selection
method return A
....item C ---> the seleciton return B
in fact it return the previous selected item and not the current. It's
datasource table.
The method is:
- (id)selectedItem { return [self itemAtRow: [self selectedRow]]; }
_______________________________________________
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