Re: How to require contiguous selection in a table view?
Re: How to require contiguous selection in a table view?
- Subject: Re: How to require contiguous selection in a table view?
- From: "I. Savant" <email@hidden>
- Date: Mon, 6 Aug 2007 14:04:45 -0400
On 8/6/07, Arthur C. <email@hidden> wrote:
> I want to have my table view allowing multiple selections, but only if the selection is contiguous.
> This is needed because I want to have drag and drop operations inside the table view to reorder some properties.
<snip>
> If it is discontiguous, I want to change the selection so that only the row that was last clicked (tried to add to the selection or tried to deselect) gets selected.
Hmmm ... Here's an answer to a form of your question you *didn't* ask. :-)
Is it really right to blow away their previously-selected rows just
because they clicked a noncontiguous row? That would certainly piss
*me* off as a user. ;-) I suggest simply selecting everything between
the first and last row in the selected set while perhaps beeping or
giving some other feedback indicating a "no-no". In other words,
*make* the selection contiguous.
This both communicates that the selection must be contiguous *and*
keeps the user from losing much of their hard work up to that point if
the list is long. If the list must be contiguous anyway, they haven't
lost anything, they've only gained stuff they probably didn't want
(but they don't have a choice anyway).
Just my US$ 0.02.
--
I.S.
_______________________________________________
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