• 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
Reordering rows in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reordering rows in NSTableView


  • Subject: Reordering rows in NSTableView
  • From: Andrew Merenbach <email@hidden>
  • Date: Mon, 26 Aug 2002 10:46:27 -0700

I've looked in my Cocoa programming books, on cocoa.mamasam.com, and on the Big Nerd Ranch's web site, and still haven't found a satisfactory example of row reordering in a table view. I have tried extensively modifying a copy of the DragNDropOutlineView example, and it works almost exactly the way I want it to--except (1) it's still an outline view, not a table view, and (2) it uses "tree nodes" as its data items, whereas I would like to use a dictionary/array combination.

Does anyone have a complete working example available that supports dragging unselected rows (one example I came across only let me drag a row if it was selected, and then deleted it without moving it)?

Take care,
Andrew Merenbach
_______________________________________________
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: Reordering rows in NSTableView
      • From: Jay Prince <email@hidden>
  • Prev by Date: Re: cout undeclared in 10.2
  • Next by Date: Re: cout undeclared in 10.2
  • Previous by thread: Re: cout undeclared in 10.2
  • Next by thread: Re: Reordering rows in NSTableView
  • Index(es):
    • Date
    • Thread