Collation-aware text filtering
Text filters compare values using locale-aware, accent- and case-insensitive matching that the developer can configure, with Intl.Collator using usage 'search'. Case folding follows locale rules, such as Turkish dotted and dotless i. Users can find 'Muller' when the data contains 'Müller'.
Planned. This page shows the specification from issue #204. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A multilingual name list with a quick filter box, sensitivity 'base'.
Expected behavior
Match counts update as the user types. Under 'tr', the search 'i' does not match 'I' but does match 'İ'. Matched substrings are highlighted at the correct grapheme boundaries.
Planned API surface
column.filterCollationfilterSensitivityquickFilter localelocaleCompareContainsAcceptance criteria
- 'contains' and 'startsWith' operators respect the collation sensitivity. (pending)
- Highlight ranges never split grapheme clusters. (pending)
- Locale-specific case mapping is used for case-insensitive comparison. (pending)
- Filter matching for 50k rows stays within the documented budget. (pending)