summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2017-02-07 09:48:33 +0200
committerGitHub <noreply@github.com>2017-02-07 09:48:33 +0200
commit909c7e56d8d57be45210424850e904149546d738 (patch)
tree2e016c94cfe6baf9bcb552058766f30d65653412 /shared/src
parente16c0ed3c191dcd9ee3ac3c5abc4a9e3f9e53be6 (diff)
downloadvaadin-framework-909c7e56d8d57be45210424850e904149546d738.tar.gz
vaadin-framework-909c7e56d8d57be45210424850e904149546d738.zip
Make one-arg addColumn use natural sort for mutually comparable values (#8458)
Fixes #8371 Fixes #8128
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java2
1 files changed, 1 insertions, 1 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 6bf90afc03..05fbb68721 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
@@ -21,7 +21,7 @@ public class ColumnState extends AbstractGridExtensionState {
public String caption;
public String internalId;
- public boolean sortable;
+ public boolean sortable = true;
public boolean editable = false;
/** The caption for the column hiding toggle. */