FROM : Jeff LaMarche
DATE : Tue Jan 21 17:31:27 2003
A very common way of displaying table data is to alternate the
background colors of every other row, for example, even rows might have
a light blue background and odd rows might have white.
This is easy enough to implement - I can think of a few ways of doing
it, with the first thought that came to my mind was to use the
tableView:willDisplayCell:forTableColumn:row: delegate notification to
set the background color.
...but it seems like there must be a setting for this somewhere since
it is such a commonly used table feature. I can't seem to find anything
in the doc or headers to indicate that this functionality is already
built in.
Jeff
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Tue Jan 21 17:31:27 2003
A very common way of displaying table data is to alternate the
background colors of every other row, for example, even rows might have
a light blue background and odd rows might have white.
This is easy enough to implement - I can think of a few ways of doing
it, with the first thought that came to my mind was to use the
tableView:willDisplayCell:forTableColumn:row: delegate notification to
set the background color.
...but it seems like there must be a setting for this somewhere since
it is such a commonly used table feature. I can't seem to find anything
in the doc or headers to indicate that this functionality is already
built in.
Jeff
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Jeff LaMarche | Jan 21, 17:31 | |
| Stéphane Sudre | Jan 21, 18:50 |






Cocoa mail archive

