Re: setUsesAlternatingRowBackgroundColors: broken? [dirty solution]
Re: setUsesAlternatingRowBackgroundColors: broken? [dirty solution]
- Subject: Re: setUsesAlternatingRowBackgroundColors: broken? [dirty solution]
- From: Alexander Spohr <email@hidden>
- Date: Fri, 23 Jan 2004 15:58:53 +0100
dirty solution:
set the dataCell of a working column into the new column...
[aNewColumn setDataCell:[[tableView
tableColumnWithIdentifier:@"A_WORKING_COLUMN"] dataCell]];
[tableView addTableColumn:aNewColumn];
i consider this dirty. the tableView should do that by default.
atze
Am 23.01.2004 um 13:17 schrieb Alexander Spohr:
Am 23.01.2004 um 12:30 schrieb Stephane Sudre:
On Friday, January 23, 2004, at 11:36 AM, Alexander Spohr wrote:
hi list,
i'm having a problem with setUsesAlternatingRowBackgroundColors:
i add new columns with [tableView addTableColumn:aNewColumn]; and
have set the checkbox in IB.
the tableView displays the columns, but it does not draw the
alternating rows. all rows are white instead. so i tried to call
[tableView setUsesAlternatingRowBackgroundColors:YES]; but it did
not help. the first (IB inserted) columns are alternating, the new
ones don't.
i have another app where i have 4 columns (added in IB) that work.
that app had the same problem but i can't remember why or when it
went away.
anyone seen this? any suggestions?
Couldn't it be the old old old bug in Interface Builder where when
you add a new column, the background of the cell is drawn?
no. because the problem appears in a running application. and it
appears if i add the cols either in IB or programmaticly. no
difference, it just does not display the new cells as it should.
atze
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.