• 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: Custom Cell For Table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Cell For Table


  • Subject: Re: Custom Cell For Table
  • From: PGM <email@hidden>
  • Date: Fri, 27 Jul 2007 21:09:40 -0400

I am trying to create a custom cell with an NSTextFieldCell and one or more NSButtonCells for use in an NSTableView. I can get the text field cell and the button to show up, but have a few questions that I'm having trouble figuring out. The first is that clicking on the button does not perform the associated action, and I'm trying to figure out why that might be. Similarly the text field will not let me change its value when I double-click on it as a normal text field would.

I've tried manually creating both the button and the text field and getting them from a NIB file, with the same result, so I'm suspecting that I'm not doing something correctly when I set up the cell.

I've searched through the archives of this mailing list, read the documentation, and Googled the problem several different ways, but I'm stumped. Any help, guidance or suggestions would be greatly appreciated.

One simple things to do would be to stack all your items into an NSView, and use Joar's SubviewTableView (http://www.joar.com/code/) to display the view in the TableView.


CHeers, Patrick
_______________________________________________

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


References: 
 >Custom Cell For Table (From: Thaddeus Cooper <email@hidden>)

  • Prev by Date: Custom Cell For Table
  • Next by Date: Re: Changing the app language
  • Previous by thread: Custom Cell For Table
  • Next by thread: Sending message to Objective-C object from C file
  • Index(es):
    • Date
    • Thread