Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Make Table filter case-insensitive


I am using the file to filter the enteries in the table. But the problem is, the results are case sensitive. So i tried adding the following lines of code

<b>if(o1 instanceOf String && o2 instanceOf String){

String s1 = o1.toString();

String s2 = o2.toString();

return s1.compareToIgnoreCase(s2);


just before the return statement in

private static final Comparator DEFAULT = new Comparator()

But still the filter is case sensitive.

Can you help me make it case in sensitive



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question