FilterEditor default Uppercase

General questions regarding the development with ProjX.

FilterEditor default Uppercase

Postby jvxdev » Fri Mar 04, 2016 1:29 pm

Is it possible to show letters in upper case in a FilterEditor? The database table only contains uppercase letters and my search should work with upper case only.
jvxdev
 
Posts: 19
Joined: Fri Mar 04, 2016 12:40 pm

Re: FilterEditor default Uppercase

Postby Support@SIB » Fri Mar 04, 2016 1:35 pm

Hmm... you could use the LikeIgnoreCase condition because it works regardless of upper and lower case.

The FilterEditor comes with eventFilterValueChanged which will be triggered after the filter was applied. It's an information event.
The eventConfigureCustomCondition will be triggered before the filter will be applied. Use this event to change the set a custom condition and/or the search value, e.g.

Code: Select all
filterEditor.setValue(value.toUpperCase());
User avatar
Support@SIB
 
Posts: 198
Joined: Mon Sep 28, 2009 1:56 pm


Return to Development