You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2018/01/11 17:47:00 UTC

[jira] [Commented] (PIVOT-1023) Enhance keyboard selection logic in TableView

    [ https://issues.apache.org/jira/browse/PIVOT-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322646#comment-16322646 ] 

Roger Whitcomb commented on PIVOT-1023:
---------------------------------------

Implemented Cmd/Ctrl-A to select all (multi-select mode) and Space to toggle the current row selection:
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraTableViewSkin.java
Transmitting file data .done
Committing transaction...
Committed revision 1820905.

Note: I think the shift-UP/DOWN selection logic is wrong -- it is done the same way it was happening in the text controls: namely that up selects more above the topmost selection, and down selects more below the bottommost, but that is not (usually) what is expected if you're doing Shift-UP, then Shift-DOWN => expect that last up selection to be canceled....

> Enhance keyboard selection logic in TableView
> ---------------------------------------------
>
>                 Key: PIVOT-1023
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1023
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk-terra
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1
>
>
> In the text components Ctrl/Cmd-A is implemented to select all the text.  Could be used for TableView also.  Of course, only for "multi" select mode.
> Could also think about other selection mechanisms as well (Ctrl-Space to toggle selection of the "current" object), but that would also require keeping track of the "current" location independently of the selected item.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)