I have an NSTableView that I populate with columns programmatically. I use the 
following to establish the header titles:

NSTableHeaderCell *myGenericHeaderCell = [[[NSTableHeaderCell alloc] 
initTextCell:myTableColumnTitle] autorelease];
[myGenericHeaderCell setAlignment:NSCenterTextAlignment];
[myGenericHeaderCell setEditable:NO];
[myGenericHeaderCell setSelectable:NO];
[aTableColumn setHeaderCell:myGenericHeaderCell];

From there, I add the column to the tableView. My problem is that, if I use a 
header name that contains a period (.), the tableView tries to validate my 
data. Is this expected behavior? I have no validation routines anywhere in the 
program or in IB, and I can only seem to work around this by changing the 
column names. I can't find this behavior referenced in the NSTableView or 
NSTableHeaderCell docs.

Thanks.
-Dan_______________________________________________

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