Re: Can we add different colors to groups of columns in non-custom TableView?
Re: Can we add different colors to groups of columns in non-custom TableView?
- Subject: Re: Can we add different colors to groups of columns in non-custom TableView?
- From: j o a r <email@hidden>
- Date: Wed, 11 Jan 2006 12:25:04 +0100
On 11 jan 2006, at 12.19, praveen kumar wrote:
My TL is asking me to apply different colors to groups of colums
of non-custom tableview. I tried my best , but i can't able to do it.
I can able to do for a couple of rows which contain data, but the
remaining empty rows are not affecting. so, please give me the idea
to achieve it.
You would most likely need to use a NSTableView subclass to achieve
this. You could probably base a solution on this sample:
<http://developer.apple.com/samplecode/MP3_Player/MP3_Player.html>
It was often used to created striped table views before Apple added
this to NSTableView.
There are also a lot of discussions on that topic in the list
archives that might be of interest to you. Search for "alternating".
Also note that there are convenience methods in NSTableView to return
the rect of colums and rows.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden