cancel
Showing results for 
Search instead for 
Did you mean: 

tableView Sorting issues

Former Member
0 Kudos

Hi,

Just a short question about sorting. In one of our tables, there are entries for a column that have names starting With and without capital letters. Now, is there a way to force the sort to not care whether or not the first word is Capitalized or not?

Thanks and best regards,

Kevin

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Kevin,

follow for example more or less the code given in this thread: and implement a <i>compare</i> method corresponding to your needs (for example using <i>compareToIgnoreCase</i> method of <i>String</i>).

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

I found a place buried deep in some code that I change everything to upper case and now when you sort on the table, case doesn't matter, AND, the text has not changed, it stays the same as how it was entered.

Cheers,

Kevin

Former Member
0 Kudos

hi,

This is my thread link,

Please Solve my porblem.

Regards

Devasarathy Pandi