Grid - Application wide caseinsensitive compare of text columns

It is possible to configure the Vaadin-Application / Grid so that every text column compare caseinsensitive on sort method (Vaadin Framework 8.3.3)?

Not as far as I know.

There are two ways of doing it:

  1. Setting a comparator for each column of your Grid.
  2. Using a Data Provider that passes the sorting information to your backend. Then your backend can handle the sort and return the data in the way you need it (for example if you’re loading data from a SQL data base).

The first option ist very unattractive :frowning:
We load the data on init, so we have an InMemoryDataProvider (ListDataProvider). Sometimes there are textual representations of number fields (status mods), so you cannot sort on db.