Hi List,

I have an NSOutlineView based source list bound to a tree controller and I can't figure out how to create a group item that does not have a disclosure triangle - as an example, the MAILBOXES folder group in Mail.app does that.

I thought it might be possible by returning NO for the - shouldCollapseItem: and -shouldExpandItem: delegate methods for the group item in question but that doesn't do have that effect. It makes the item non-expandable/non-collapsable but it still shows its disclosure triangle. I also set the datasource (the outline is bound) and implemented the datasource method

- (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable: (id)item

but that never gets called.

Any ideas on how to make the disclosure triangle disappear for a specific item? Is this only possible in data source driven outline views?

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to