• 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: Substitute a check box or a popup for a field editor in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Substitute a check box or a popup for a field editor in a tableview


  • Subject: Re: Substitute a check box or a popup for a field editor in a tableview
  • From: comcast <email@hidden>
  • Date: Sat, 19 Jan 2008 12:46:56 -0500

Great, It would be better to have the appropriate cell type show directly in my table. I made -tableView:dataCellForTableColumn:row in my table's delegate, but it is not called. I am not finding a lot of documentation or examples on this. Any suggestions.

Given I can get it called can this be done selectively for given rows or columns and use tableView:tableView objectValueForTableColumn:row for those that are text.


On Jan 19, 2008, at 9:56 AM, Kyle Sluder wrote:

Use the NSTableView delegate method
-tableView:dataCellForTableColumn:row:, have it return an NSCell
subclass of the appropriate type, and either bind it or set its target
and action manually.

You seem to be confused.  The field editor exists only for text cells.

--Kyle Sluder

_______________________________________________

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


  • Follow-Ups:
    • Re: Substitute a check box or a popup for a field editor in a tableview
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Substitute a check box or a popup for as a field editor in a tableview (From: comcast <email@hidden>)
 >Re: Substitute a check box or a popup for as a field editor in a tableview (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Mounting disk images
  • Next by Date: Re: Mounting disk images
  • Previous by thread: Re: Substitute a check box or a popup for as a field editor in a tableview
  • Next by thread: Re: Substitute a check box or a popup for a field editor in a tableview
  • Index(es):
    • Date
    • Thread