diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-23 09:05:44 +0200 |
---|---|---|
committer | Péter Török <31210544+torok-peter@users.noreply.github.com> | 2017-10-23 10:05:44 +0300 |
commit | 46d1a95f046739a8e158f4fcec4e06fbf3656a11 (patch) | |
tree | b559ab939194baf4a6569f938124c6e17b7d4918 /shared/src | |
parent | b394dec430792e6514992f651d1f512bdf32b914 (diff) | |
download | vaadin-framework-46d1a95f046739a8e158f4fcec4e06fbf3656a11.tar.gz vaadin-framework-46d1a95f046739a8e158f4fcec4e06fbf3656a11.zip |
Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)
* Grid column to be sortable when implemented/supported
* Fix GridDeclarativeTest
* Parameterize to Grid<Person>
* Revert Parameterize to Grid<Person>, JDK with generics.
* Assertions for other columns
* Fix test
Fixes #8792
Diffstat (limited to 'shared/src')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java index cda5382670..ae781951c6 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java @@ -27,7 +27,7 @@ public class ColumnState extends AbstractGridExtensionState { public String caption; public String internalId; - public boolean sortable = true; + public boolean sortable = false; public boolean editable = false; /** The caption for the column hiding toggle. */ @@ -66,7 +66,7 @@ public class ColumnState extends AbstractGridExtensionState { public Connector renderer; /** * Whether the contents define the minimum width for this column. - * + * * @since 8.1 */ public boolean minimumWidthFromContent = true; |