]> source.dussan.org Git - vaadin-framework.git/commit
Fix invalid assumptions about empty Grid (#16734, #16684)
authorLeif Åstrand <leif@vaadin.com>
Sun, 15 Mar 2015 19:08:21 +0000 (21:08 +0200)
committerLeif Åstrand <leif@vaadin.com>
Mon, 16 Mar 2015 09:04:52 +0000 (11:04 +0200)
commit905eb90aedca3e62f61f94eb1b2901e2ada7c63a
treec87a6b8dff402aaa8ecf506f1fd21605802dc600
parentea11bcc7603f9197097e6cca3ea7ee11729037aa
Fix invalid assumptions about empty Grid (#16734, #16684)

* Don't reset to default column sizes when adding row to emtpy escalator
* Don't wait for data after size is explicilty reset to 0
* Don't assume there were previous rows when adjusting focus on add

Change-Id: I59e8c0ef0c5633cf3678db63a660e3f1d1ca7d2a
client/src/com/vaadin/client/widgets/Escalator.java
client/src/com/vaadin/client/widgets/Grid.java
uitest/src/com/vaadin/tests/components/grid/GridColumnWidthsWithoutData.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/grid/GridColumnWidthsWithoutDataTest.java [new file with mode: 0644]