• 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
NSTableView can't delete last column?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView can't delete last column?


  • Subject: NSTableView can't delete last column?
  • From: Ben Golding <email@hidden>
  • Date: Thu, 10 Feb 2005 16:55:33 +1100


I have a more complex application and I was finding that when I was undoing my add and delete column actions, the NSTableView I was using wouldn't undo the first add column. With further investigation, I found that it was: there were no columns left in the table but the table view still had a column header. The column header wasn't selectable or usable but it was still showing and I didn't think it should be.


I wrote a really simple app with a table view and two buttons, one to add a row, the other to delete. Sure enough, deleting the last column in the table leaves an unresponsive column header.

I've put the source here http://www.object-craft.com.au/~bgg/TestTableCol.tar.gz if anyone would like to have a look at the code.

To me it looks like a minor bug but it could well be something I'm not doing. Any ideas would be appreciated.

	Ben.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Binding NSArrayController to model array without NSTableView: Master-Detail interface
  • Next by Date: Re: Binding NSArrayController to model array without NSTableView: Master-Detail interface
  • Previous by thread: Re: Binding NSArrayController to model array without NSTableView: Master-Detail interface
  • Next by thread: Re: NSTableView can't delete last column?
  • Index(es):
    • Date
    • Thread