• 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
Hiding NSComboBoxCells In An NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hiding NSComboBoxCells In An NSOutlineView


  • Subject: Hiding NSComboBoxCells In An NSOutlineView
  • From: "W. W. Gilpin" <email@hidden>
  • Date: Wed, 14 Jul 2004 13:51:58 -0500

Howdy,

I have an NSComboBoxCell as the dataCell for one of the columns in my NSOutlineView. The data in this column is not appropriate for all rows of my outline view and I would like to prevent the cell from displaying in rows that it can not be used.

I have been able to do this with other cells by disabling and/or hiding the cell in my table's willDisplayCell: delegate method, but I can not find a way to prevent NSComboBoxCell from drawing. Disabling is not enough, as it still draws the popup arrows.

Is there a way to do this? Am I missing something obvious?

Cheers,

W. W. Gilpin
email@hidden
_______________________________________________
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.


  • Prev by Date: Re: NSView menu
  • Next by Date: Re: applicationShouldTerminateAfterLastWindowClosed bug?
  • Previous by thread: Re: NSView menu
  • Next by thread: Basic Concepts
  • Index(es):
    • Date
    • Thread