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 (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