-collapseItem: doesn't collapse when -outlineView:shouldShowOutlineCellForItem: returns NO
-collapseItem: doesn't collapse when -outlineView:shouldShowOutlineCellForItem: returns NO
- Subject: -collapseItem: doesn't collapse when -outlineView:shouldShowOutlineCellForItem: returns NO
- From: Markus Spoettl <email@hidden>
- Date: Mon, 24 Jan 2011 20:02:08 -0500
Hello,
I have an NSOutlineView that has the delegate method
- (BOOL)outlineView:(NSOutlineView *)outlineView shouldShowOutlineCellForItem:(id)item
implemented to return NO for some items (even though they do have subitems). These items are expanded and collapsed programmatically using NSOutlineView -expandItem: and -collapseItem:
Only: -collapseItem: doesn't work for items treated that way. Expanding does work as expected. Is this known or expected?
When I return YES in the above delegate method for these items, collapsing works again.
I'm on 10.6.6 using the 10.6 SDK.
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden