on 12-08-2008 11:13 AM
Hello experts,
we would like to be able to sort a Webdynpro table (by clicking on a column) without distinguishing upper case and lower case.
Is there a way to have this functionnality using the TableSorter.java utility ?
Thanks' in advance for responding !!
Change the sorting code to use equalsIgnoreCase() instead of equals().
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you experts,
each of your methods seems to works (Anup's tutorial is very useful indeed),
I think we would use Armin's method changing equals() to equalsIgnoreCase(),
Thanks again !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check this might help u
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1238730,00.html
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the comparator class use toUpperCase on both elements in the "compare" method.
This should solve your issue.
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.