• 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: NSTableView oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView oddity


  • Subject: Re: NSTableView oddity
  • From: Brian Webster <email@hidden>
  • Date: Thu, 12 Dec 2002 20:38:43 -0600

On Thursday, December 12, 2002, at 06:20 PM, email@hidden wrote:

I'm having a problem with the NSTableView control. In particular, it doesn't
do anything when you call setEnabled, it appears to always stay enabled.
This seems like a bug to me - is it?

Funny, I never thought to ever call setEnabled on an NSTableVieww, but yeah, it seems like it should respect that call. Maybe it doesn't because the behavior of the table view is already highly customizable through the delegate methods. You can tell it to stop responding to mouse clicks by implementing tableView:shouldSelectRow: and returning NO. If you want a greyed out appearance for the text as well, you can modify the cells before they are about to be displayed in the tableView:willDisplayCell:forTableColumn:row:. If you consider the setEnabled behavior to be a bug, feel free to file a bug report with Apple, but I'm thinking that it's actually supposed to behave that way.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSTableView oddity
      • From: Brad Oliver <email@hidden>
  • Prev by Date: Re: NSStepper and NSTextField changes
  • Next by Date: Re: BezierPath Madness...
  • Previous by thread: NSTableView oddity
  • Next by thread: Re: NSTableView oddity
  • Index(es):
    • Date
    • Thread