: SelectedRowIndexes
On Oct 14, 2009, at 11:55 AM, gMail.com wrote:
Oh, come on, at least pick a witty pseudonym. :-D
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
rowIndex.
Da: Corbin Dunn corb...@apple.com
Data: Wed, 14 Oct 2009 09:38:16 -0700
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: SelectedRowIndexes
On Oct 14, 2009, at 8:55 AM, gMail.com wrote:
Hi,
when I call [tableView selectedRowIndexes];
I always
The user has an NSTableView in which is presented a number of elements
( 1 per row, typically 20 - 200 rows ) out of which they need to
produce a number of sequenced sub groups.
The user presses the 'Start Sub Group' key ( i.e. clear the sequence
selection cache ) and then by picking a
On 15/10/2009, at 5:24 PM, Peter Hudson wrote:
The user has an NSTableView in which is presented a number of
elements ( 1 per row, typically 20 - 200 rows ) out of which they
need to produce a number of sequenced sub groups.
The user presses the 'Start Sub Group' key ( i.e. clear the
We offer a drag and drop option as well - very similar to your idea.
The problem is that our users find it easier to scroll their way
through the list and command click on the appropriate rows.
Users prefer to have their way I find.
Peter
On 15 Oct 2009, at 07:45, Graham Cox wrote:
On
@lists.apple.com
Subject: Re: SelectedRowIndexes
On 15/10/2009, at 5:24 PM, Peter Hudson wrote:
The user has an NSTableView in which is presented a number of
elements ( 1 per row, typically 20 - 200 rows ) out of which they
need to produce a number of sequenced sub groups.
The user presses
On 15/10/2009, at 5:56 PM, Peter Hudson wrote:
The problem is that our users find it easier to scroll their way
through the list and command click on the appropriate rows.
Users prefer to have their way I find.
Ah, users. The bane of our lives! If only they didn't pay our
wages... ;-)
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
On Oct 14, 2009, at 11:55 AM, gMail.com wrote:
Oh, come on, at least pick a witty pseudonym. :-D
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
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
On Wed, Oct 14, 2009 at 8:55 AM, gMail.com mac.iphone@gmail.com wrote:
Instead I need to sort it as the selection order.
I'm kind of curious (not, I must emphasize, incredulous) as to why you
need this. Wouldn't it be better to record the order in which
selections were made in the
I have tackled this problem by using the NSTableView delegate method
tableViewSelectionDidChange:
In this method I query the table for selected rows and then compare
with the index set from the previous call to
tableViewSelectionDidChange: I simply store the incremental changes
in
mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: SelectedRowIndexes
On Wed, Oct 14, 2009 at 8:55 AM, gMail.com mac.iphone@gmail.com wrote:
Instead I need to sort it as the selection order.
I'm kind of curious (not, I must emphasize, incredulous) as to why you
need
and I show these coords on the Inspector.
In that case, you will probably be best served by binding your table
view's selectedRowIndexes property to a property on your controller,
and having your controller expose a separate property that your
inspector uses to determine the object to inspect. You
14 matches
Mail list logo