From f696db8036fc520f3bd97ef75e933ff8b45e1ce2 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Tue, 9 Aug 2016 10:49:25 +0300 Subject: BoV: Fix a language issue for Listing Change-Id: I3699ecca45775335308d90a2c1f79b9a1244dc76 --- documentation/datamodel/datamodel-datasources.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/datamodel') diff --git a/documentation/datamodel/datamodel-datasources.asciidoc b/documentation/datamodel/datamodel-datasources.asciidoc index 9c657d7ffe..ddc78bc6cf 100644 --- a/documentation/datamodel/datamodel-datasources.asciidoc +++ b/documentation/datamodel/datamodel-datasources.asciidoc @@ -51,7 +51,7 @@ List persons = Arrays.asList( grid.setItems(persons); ---- -Listing components that allow the user to control in which order the items are displayed is automatically able to sort data by any property as long as the property type implements [classname]#Comparable#. +Listing components that allow the user to control the display order of the items are automatically able to sort data by any property as long as the property type implements [classname]#Comparable#. We can also define a custom [classname]#Comparator# if we want to customize the way a specific column is sorted. The comparator can either be based on the item instances or on the values of the property that is being shown. -- cgit v1.2.3