• 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
Re: How to delete table rows to delete by dragging them to trash in the dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to delete table rows to delete by dragging them to trash in the dock


  • Subject: Re: How to delete table rows to delete by dragging them to trash in the dock
  • From: Rudi Sherry <email@hidden>
  • Date: Tue, 08 Feb 2005 13:17:43 -0800

Sorry I can't offer technical help; I can only offer an opinion here; please take it in the spirit it's given:

I don't think dragging an application table row to the Dock Trash is the right action for deleting them. While it's good to have a mouse-only action for the equivalent of 'delete', IMHO this is not the way to do this.

The Trash in the dock is generally used for Finder-related items: files, folders, mounted volumes, clippings (which act like files) etc etc -- and note that whenever you drag something into the Dock trash, you can double-click the trash and see it there (the one exception is mounted volumes, and I think that action remains in OS X for compatibility reasons). Your rows aren't Finder-related items, and they wouldn't appear in the Trash after you dragged them there.

I don't know of any other application that contains non-file objects that can be dragged into the Dock Trash, and I think it's for the above reasons (and not due to implementation difficulty).

If you wanted to have drag-removal, you could create some sort of trash icon inside your application and drag the rows there. This is much simpler since you control both the drag source and the drag destination.

HTH,
Rudi

On Feb 6, 2005, at 8:17 PM, JanakiRam wrote:

I Have a NSTableView which shows the data of the students. By pressing the delete button i was able to delete them, now my requirement is when i drag my rows from table view to trash in the dock i should be able to delete them. Please let me know how can i achieve this.

_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: How to delete table rows to delete by dragging them to trash in the dock
      • From: The Karl Adam <email@hidden>
References: 
 >How to delete table rows to delete by dragging them to trash in the dock (From: JanakiRam <email@hidden>)

  • Prev by Date: Re: How I was able to select between 3 different toolbars in one window, is there a better way?
  • Next by Date: Re: How to delete table rows to delete by dragging them to trash in the dock
  • Previous by thread: How to delete table rows to delete by dragging them to trash in the dock
  • Next by thread: Re: How to delete table rows to delete by dragging them to trash in the dock
  • Index(es):
    • Date
    • Thread