Re: Outlineview ParentObject

2010-02-04 Thread Jens Alfke
On Feb 4, 2010, at 2:47 AM, Poonam Virupaxi Shigihalli wrote: parentObject = [outlineview parentObject:item]; //Here it always returns Groups2 even though i want to remove from Group1 one, since cocoa is a duplicate entry(Same memory location). You can't have the same item in two places in

Re: Outlineview ParentObject

2010-02-04 Thread Graham Cox
On 04/02/2010, at 9:47 PM, Poonam Virupaxi Shigihalli wrote: > parentObject = [outlineview parentObject:item]; //Here it always returns > Groups2 even though i want to remove from Group1 one, since cocoa is a > duplicate entry(Same memory location). > > [parentObject removeObject:item]; > >

RE: Outlineview ParentObject

2010-02-04 Thread Poonam Virupaxi Shigihalli
Dear All, NSOutlineView displays as follows: Group1 ---Cocoa ---Mac Group2 Cocoa Macbook Cocoa is a duplicate entry present in two groups also. I have rightmousedown action for outlineview. when the user right clicks on any of the group items. i has the following operations: Ad