Ver código fonte

BoV: Fix a language issue for Listing

Change-Id: I3699ecca45775335308d90a2c1f79b9a1244dc76
tags/8.0.0.alpha1
Henri Sara 7 anos atrás
pai
commit
f696db8036

+ 1
- 1
documentation/datamodel/datamodel-datasources.asciidoc Ver arquivo

@@ -51,7 +51,7 @@ List<Person> 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.


Carregando…
Cancelar
Salvar