Re: NSTableView with NSComboBoxCells
Re: NSTableView with NSComboBoxCells
- Subject: Re: NSTableView with NSComboBoxCells
- From: Tony Cate <email@hidden>
- Date: Fri, 17 Feb 2006 16:50:39 -0600
On Feb 17, 2006, at 4:27 PM, Robert Brown wrote:
I have an NSTableView that I'd like to edit using NSComboBoxes.
How hard is this? Does it mean subclassing NSTableView, or is
there an easier way?
I don't know if this was the right way, but here's what I did:
1 Drop a comboboxcell on the target column in IB
2 Override NSTableColumn's - (id)dataCellForRow:(int)row to use a
textfield for the columns not using the combobox. While you're in
there you can tweak the configuration of the CB.
Tony
3 Cats And A Mac
http://www.3caam.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden