Re: Drawing custom group row in TableView
Re: Drawing custom group row in TableView
- Subject: Re: Drawing custom group row in TableView
- From: Corbin Dunn <email@hidden>
- Date: Tue, 05 Apr 2011 08:44:56 -0700
On Apr 5, 2011, at 7:36 AM, Georg Seifert wrote:
> Hi,
>
> I have a custom NSTableView want to draw my own group row background. What Is the best way to do that.
>
> I subclassed NSTableView and use a subclass of NSTextfieldCell to draw the table. What I can’t figure out, what to overwrite to add my own drawing code. Any ideas?
Yeah, I have some ideas!
Override this method:
- (void)drawRow:(NSInteger)row clipRect:(NSRect)clipRect;
corbin
_______________________________________________
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