]> source.dussan.org Git - vaadin-framework.git/commit
Grid columns can now be marked as non-editable (#16538)
authorJohannes Dahlström <johannesd@vaadin.com>
Wed, 4 Feb 2015 16:33:30 +0000 (18:33 +0200)
committerJohannes Dahlström <johannesd@vaadin.com>
Thu, 5 Feb 2015 15:47:46 +0000 (15:47 +0000)
commita15f2847950126bc87751c54d977d2f4edd45c04
tree200d9866abb2c9334ca9c38ef58639954c562d27
parent50724f2d0d1e225b5c24d097d3c4b8529b7a8f3f
Grid columns can now be marked as non-editable (#16538)

Non-editable columns are not assigned editor fields. When the editor is active,
any non-editable content is not displayed (this should changein the future).
This is separate from setting the property or editor field read-only - in those
cases the field is still used to display the data which may not be desired and
will fail if there is no converter.

Also add Column.setEditorField(Field<?>) and the corresponding getter.

Change-Id: Ice17c357895cb63a8e1bfd6abaffc1d803399e98
client/src/com/vaadin/client/connectors/GridConnector.java
client/src/com/vaadin/client/widgets/Grid.java
server/src/com/vaadin/ui/Grid.java
server/tests/src/com/vaadin/tests/server/component/grid/GridColumns.java
shared/src/com/vaadin/shared/ui/grid/GridColumnState.java
uitest/src/com/vaadin/testbench/elements/GridElement.java
uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java
uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorClientTest.java
uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorTest.java
uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java