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

Re: [Q] Disabling an NSTableView


  • Subject: Re: [Q] Disabling an NSTableView
  • From: Alex Rice <email@hidden>
  • Date: Tue, 12 Nov 2002 00:22:44 -0700

On Monday, July 15, 2002, at 01:27 PM, Mark de Jong wrote:

When I send "setEnabled:NO" to my table, the table's visual appearance does not change and I can still select and edit all the items in the table. I would expect its appearance and behavior to change, similar to other controls.

Hi, I have the same issue. What is the workaround? Dan Wood's suggestion to call setEditable: on the NSCells in the table doesn't help my in situation because my NSTableView is not editable, I need to disable selection in the NSTableView. (It's an "inspector" panel and all the controls get disabled if the user hasn't selected an item in the main window.)

[iconsTable deselectAll: nil];
[iconsTable setEnabled: NO];

Doesn't disable selections. I am stumped on this one. Any ideas?

Alex Rice <email@hidden>
Mindlube Software
http://mindlube.com/
_______________________________________________
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: [Q] Disabling an NSTableView
      • From: Sam Griffith <email@hidden>
  • Prev by Date: Re: How to stop listening on a port?
  • Next by Date: Re: How to stop listening on a port?
  • Previous by thread: Re: General Cocoa Question
  • Next by thread: Re: [Q] Disabling an NSTableView
  • Index(es):
    • Date
    • Thread