• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Alternate row coloring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternate row coloring


  • Subject: Re: Alternate row coloring
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 6 Nov 2003 17:46:24 +0100

It might be the usual background is drawn issue. So this might solve the issue:

[myPrototypeCellOfMyTableColumnInMyTableViewWhisIsInMyWindowAsAMatterOfF act setDrawsBackground:NO];


Le jeudi, 6 nov 2003, ` 17:17 Europe/Paris, John Nairn a icrit :

I turned on alternate row coloring, but only empty rows have alternate colors. All rows with text in the cells have white background although alternate rows have colored border around the text which looks more like a grid rather than the actual background coloring that appears in empty rows.

This particular table is frequently reset in code to show different types of data. The reseting involves discarding all columns and creating new ones. Currently the columns are set to prevent editing. In the future some might be editable. The NSTableView object remains and only empty rows alternate background color.
_______________________________________________
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.

References: 
 >Alternate row coloring (From: John Nairn <email@hidden>)

  • Prev by Date: Re: crash when getting AppleScript dictionary
  • Next by Date: OT: maxproc limit
  • Previous by thread: Alternate row coloring
  • Next by thread: Re: Alternate row coloring
  • Index(es):
    • Date
    • Thread