• 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
Conditionally adding NSButtonCell to a column of NSTableview and allowing button cell to take action even if the corresponding row is not allowed to be selected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conditionally adding NSButtonCell to a column of NSTableview and allowing button cell to take action even if the corresponding row is not allowed to be selected


  • Subject: Conditionally adding NSButtonCell to a column of NSTableview and allowing button cell to take action even if the corresponding row is not allowed to be selected
  • From: Deepa <email@hidden>
  • Date: Tue, 01 Mar 2011 12:06:26 +0530
  • "x-copyrighted-material: http://www.robosoftin.com"

Hi,

I am developing an Desktop application for 10.5, 10.6. My requirements are as follows:

I am already displaying a NSTableview with one column. The tableview is disabled and I do not allow the user to select any row of the tableview. In each row of this column I display a NSTextFieldCell.

Now, I want to add one more column that displays NSButtonCell in a row when some condition on that row is satisfied. User should be able to click on this button and send some action.

If I disable the tableview  or if I do not allow the user to select the row of a tableview, the button cell does not take any action. How do I achieve this?

Also, what is the best way to conditionally add a cell to a row?

Thanks in advance.

Regards,
Deepa-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
_______________________________________________

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: Conditionally adding NSButtonCell to a column of NSTableview and allowing button cell to take action even if the corresponding row is not allowed to be selected
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: original image size is not retained when it is exported as PDF using CGImageDestinationRef
  • Next by Date: Static Analyzer is confusing me
  • Previous by thread: Performing a Fetch Request on a specific MO.
  • Next by thread: Re: Conditionally adding NSButtonCell to a column of NSTableview and allowing button cell to take action even if the corresponding row is not allowed to be selected
  • Index(es):
    • Date
    • Thread