On 2009.11.25, at 17:20, Jens Alfke wrote:


On Nov 25, 2009, at 5:49 AM, Mario Kušnjer wrote:

How to hide the disclosure triangle in front of the Root object and remove indentation for it, and just that object (and later if there is more Root objects for them too) ?

I think what you're looking for is the delegate method
- (BOOL)outlineView:(NSOutlineView *)outlineView isGroupItem:(id)item;

—Jens


Actually no, because that delegate method is implemented and it doesn't hide disclosure triangle and removes indentation (actually it makes indentation slightly different), but draws font and cell (depending on which highlight style used) differently to make them look like header or title (group) for rows that come under its tree.

Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to