]> source.dussan.org Git - vaadin-framework.git/commit
Theming and UX for Grid column reordering. (#16643)
authorPekka Hyvönen <pekka@vaadin.com>
Thu, 19 Feb 2015 15:21:22 +0000 (17:21 +0200)
committerPekka Hyvönen <pekka@vaadin.com>
Mon, 23 Feb 2015 13:02:39 +0000 (15:02 +0200)
commitbff2a3f558ea0416ae48b5595b59057a3475d6b6
tree978c92663379919221f55ed6bad4a88b4e1f20ff
parentad7bcdc7d22cedf30d76dd6d1ba7a1c9bcabdd53
Theming and UX for Grid column reordering. (#16643)

- Show sorting and focus on the dragged header.
- Keep the focused header/cell the same after drag.
- Make the drop marker get the same color as the grid selection.
- Make dragged header and the drag element theme customizable
- Valo related theming: little opacity, proper positioning

Change-Id: Ia1c6f72ef2c7b4333e64ac410e50ef3688461749
WebContent/VAADIN/themes/base/grid/grid.scss
WebContent/VAADIN/themes/valo/components/_grid.scss
client/src/com/vaadin/client/widgets/Grid.java
uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java
uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridColumnReorderEventTest.java [deleted file]
uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridColumnReorderTest.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnReorderTest.java