Donnie,
If you're app is 10.5 and up only, check out the following delegate
methods in NSTableView.h
- (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:
(NSTableColumn *)tableColumn row:(NSInteger)row
- (BOOL)tableView:(NSTableView *)tableView isGroupRow:(NSInteger)row
Otherwise, you'll have to subclass NSTableView's:
-(NSRect)frameOfCellAtColumn:(NSInteger)column row:(NSInteger)row
There are various examples of this on the net if you google for it.
-raleigh
On Dec 30, 2008, at 12:44 PM, Donnie Lee wrote:
Hi!
I have 2-column NSTableView and want to make some rows to act as
headers. How can I join columns in some rows to make header's caption
all table long?
_______________________________________________
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/ledet%40apple.com
This email sent to [email protected]
_______________________________________________
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]