Hi ,
I am using type_ahead elements with attached valuelist via global method. This works fine.
What I want is to match in my type_ahead with words that are at any place in the valuelist display values and not only matching from the left side.
Example valuelist display value, real value:
[“yellow submarine”, 22]
[“brown sugar”, 24]
[“mellow yellow”, 25]
If I type yellow I want both values (yellow submarine and mellow yellow) in my display list and not only the “yellow submarine”.
I adapted my query (% + text + %) to my wish but Servoy does a from left matching when displaying the display value list.
Any ideas ?
use the new global method valuelist in 5.0
Then you can decide what to return on input.
Hi Johan,
As said I am already doing that !!
The type_ahead display list is not visible any more after typing two keys or more that don’t match (from the left) the display list…
I hope you understand what I mean…
Regards,
but is your global method called? asking for values?
i guess your global method is not fired at all.
i think i know why that does happen. I will fix it so that when ever the user types something the global method is called.
jcompagner:
i guess your global method is not fired at all.
i think i know why that does happen. I will fix it so that when ever the user types something the global method is called.
Hi Johan ,
It seems as the global method is not always fired when typing in type_ahead modus. The first firing is ok, after the second key my list is empty (as it should not be)