Clarity: Add built-in case-insensitive sort to datagrid

Created on 15 Feb 2017  路  4Comments  路  Source: vmware/clarity

Select one ... (check one with "x")

[ ] bug
[x ] feature request
[ ] enhancement

Expected behavior


The default string sort of a datagrid column is case-sensitive. In many cases, the desired sort is case-insensitive. It would be nice to have an option to use a case-insensitive search without having to write a custom comparator.

Actual behavior

Reproduction of behavior




Environment details

  • Angular version: 2.0.X

  • Clarity version:

  • OS and version:

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

bug

Most helpful comment

I volunteer :)

All 4 comments

@rongery we recommend case-insensitive as default, and we鈥檒l work on fixing this for the existing default filter

cc: @youdz

Easy contribution for anyone who wants to pick this up, our DatagridPropertyComparator should become case-insensitive.

I volunteer :)

Hi there 馃憢, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

Was this page helpful?
0 / 5 - 0 ratings