]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix Grid active cell navigation with colspans (#13334)
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Tue, 16 Sep 2014 12:24:15 +0000 (15:24 +0300)
committerJohannes Dahlström <johannesd@vaadin.com>
Tue, 16 Sep 2014 14:18:14 +0000 (14:18 +0000)
Change-Id: Iafcb82c86d9c4772d9488b80bd888f06b142951b

client/src/com/vaadin/client/ui/grid/Grid.java

index b0f97413ff6280516d17be7c8a29bf4372f0c2be..636fa78ea7ffe0d70e4bd940edb3bab412d80a0f 100644 (file)
@@ -406,7 +406,7 @@ public class Grid<T> extends Composite implements
                     if (activeCellRange.getEnd() >= getVisibleColumns().size()) {
                         return;
                     }
-                    ++newColumn;
+                    newColumn = activeCellRange.getEnd();
                     break;
                 case KeyCodes.KEY_LEFT:
                     if (newColumn == 0) {