NSTableView can't delete last column?
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