• 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
deleting a tableColumn...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

deleting a tableColumn...


  • Subject: deleting a tableColumn...
  • From: Jonas Roel <email@hidden>
  • Date: Sat, 26 Apr 2003 21:57:48 -0400

Hi,

I am trying to allow the user to modify a table view by adding a new
column, or removing a selected column.
The issue is that the adding of the column works fine. But for some
reason the deletion of a selected column doesn't seem to work... Can
someone please review this code snippet to point out what I'm doing
wrong. I'll appreciate any advice you can give me... Thanks - JR

I'm thinking about doing the following - (more or less):

-(IBAction)removeColumn:(id)sender
{
NSTableColumn *remove = [myTableView highlightedTableColumn];
[myTableView removeTableColumn:remove];
[myTableView reloadData];
}
_______________________________________________
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: deleting a tableColumn...
      • From: Greg Hulands <email@hidden>
  • Prev by Date: Re: Tab-stop filled with dots?
  • Next by Date: NSMailDelivery- 4 questions
  • Previous by thread: Re: Finding out about all user level changes in NSTextView?
  • Next by thread: Re: deleting a tableColumn...
  • Index(es):
    • Date
    • Thread