0

howto remove case sensitive in auto complete of combobox

asked 2014-05-21 14:13:43 +0800

hiepgau gravatar image hiepgau
11 2

auto complete of combobox is case sensitive. example: I have item Item 1, Item 2, Item 3 when i type item. no item is list in drop list.

how and where, i can remove case sensitive.

delete flag offensive retag edit

Comments

Thanks for quick response. I double check. yes, it's my wrong. I add lower function to query, issue is resolve

hiepgau ( 2014-05-22 03:58:50 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-21 17:47:07 +0800

chillworld gravatar image chillworld flag of Belgium
5357 4 9
https://github.com/chillw...

updated 2014-05-21 17:47:21 +0800

You have to create your own listmodel.

Extends the SimpleListModel. Because the interface ListSubModel<E> you have the method getSubModel(java.lang.Object value, int nRows).

Override that method and make it case insensitive.

Greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-05-21 14:13:43 +0800

Seen: 17 times

Last updated: May 21 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More