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 (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/ledet%40apple.com

This email sent to le...@apple.com

_______________________________________________

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