Reordering rows in NSTableView
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.