• 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
Combining two editable values into one table column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Combining two editable values into one table column


  • Subject: Combining two editable values into one table column
  • From: Gideon King <email@hidden>
  • Date: Sun, 18 Jul 2010 09:44:57 +1000

I have two situations where I want to combine two editable values into one table column in an NSTableView:

- one is a checkbox and date picker (so you can check if you want to specify a date, and edit the value if the checkbox is checked),
- and the other is a text field and a popup button where you can set a number and its unit of measurement.

I see plenty of examples of doing things like an image and text cell, but only the text is editable.

I'd appreciate any clues on how to achieve an editable checkbox and date picker in a single table column and an editable text field and popup button in a single table column.

Alternatively, I guess the same visual effect would be possible by using two columns and creating a custom NSTableHeaderCell, if only I could get it to draw across two table columns, and keep the two columns from being separated from each other during reordering of table columns (they would not be resizable, so I would not have that problem).

Any suggestions would be appreciated.

Thanks


Gideon

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: NSInteger compare - Help Needed
  • Next by Date: Re: Link Error: following -F not found
  • Previous by thread: Re: Add Tick Mark in NSCombobox List
  • Next by thread: Binding to title of NSButtonCell in a table view
  • Index(es):
    • Date
    • Thread