• 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: SelectedRowIndexes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SelectedRowIndexes


  • Subject: Re: SelectedRowIndexes
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 14 Oct 2009 09:38:16 -0700

On Oct 14, 2009, at 8:55 AM, gMail.com wrote:

> Hi,
> when I call [tableView selectedRowIndexes];
> I always get a indexSet already sorted by row.
> Instead I need to sort it as the selection order.
> I mean, if the user selected the rows in the order
>
> Row 6
> Row 2
> Row 8
>
> I want to get 6, 2, 8 and not 2, 6, 8 as I get now with selectedRowIndexes.
> How can I do that?


You can't. Please log a bug requesting this ability (I have heard of more than one person wanting this).

Well, you could do it yourself with heavy subclassing of NSTableView and overriding the -selectRow.... type of methods and keeping track of the order yourself.

corbin

_______________________________________________

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: SelectedRowIndexes
      • From: "gMail.com" <email@hidden>
References: 
 >SelectedRowIndexes (From: "gMail.com" <email@hidden>)

  • Prev by Date: Re: Default Core Data errors
  • Next by Date: Re: Zombies instrument for iPhone?
  • Previous by thread: Re: SelectedRowIndexes
  • Next by thread: Re: SelectedRowIndexes
  • Index(es):
    • Date
    • Thread