Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Inconsistent(?) ListGrid selection behaviour with keyboard

    SmartClient 10.1p Chrome OSX; Chrome/Edge/IE11 Win10

    Test link: http://www.smartclient.com/#multipleSelect

    In Excel, if you click to select a cell (Germany in the example below) and then use shift and the up/down arrow keys, you get the behaviour below. Germany is the 'anchor cell' and the selection can include cells above or below Germany:

    Click image for larger version

Name:	excel.gif
Views:	43
Size:	54.9 KB
ID:	234251

    In a Smartclient ListGrid however, having selected Germany using the mouse, you then get a quite different behaviour. There are two inconsistencies that are troubling:

    1) You can see that pressing shift+down to selects United Kingdom, then France, Italy and Russia as expected. On pressing shift+up, it deselects Russia, Italy and France. BUT then pressing shift+up another time, it moves the hilite to Germany, but leaves United Kingdom selected.

    2) With further presses of shift+up, it then selects India, Japan, China and United States. BUT then pressing shift+down it merely moves the hilite row down and doesn't deselect the rows.

    Click image for larger version

Name:	smartclient.gif
Views:	37
Size:	104.3 KB
ID:	234252

    To me, the Excel behaviour is the expected behaviour. The Smartclient behaviour makes it impossible to deselect the first row below your initially selected row (if you've overshot downwards); and impossible to deselect the rows above your initial row (if you've overshot upwards).
Working...
X