• 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
row numbers participating in a table drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

row numbers participating in a table drag


  • Subject: row numbers participating in a table drag
  • From: Gonzalo Castro <email@hidden>
  • Date: Fri, 16 Nov 2007 12:18:59 -0500

Hello,

From the NSTableDataSource doc:

- (BOOL)tableView:(NSTableView *)aTableView writeRowsWithIndexes: (NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard*)pboard

"rowIndexes is an index set of row numbers that will be participating in the drag."

How are the row numbers that will be participating in the drag determined? rowIndexes is always all the rows in my table. I only care about the row the user clicked on to start the drag.

Thanks,
Gonzalo


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: row numbers participating in a table drag
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: CoreImage problems with very large images
  • Next by Date: Re: row numbers participating in a table drag
  • Previous by thread: Re: reading NSTableView cell edits before user tabs or enters
  • Next by thread: Re: row numbers participating in a table drag
  • Index(es):
    • Date
    • Thread